pub struct ServiceShutdown(/* private fields */);Expand description
A stop request delivered by the Windows Service Control Manager.
The application owns the drain policy; this platform boundary only turns
SERVICE_CONTROL_STOP/SHUTDOWN into an awaitable notification.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServiceShutdown
impl RefUnwindSafe for ServiceShutdown
impl Send for ServiceShutdown
impl Sync for ServiceShutdown
impl Unpin for ServiceShutdown
impl UnsafeUnpin for ServiceShutdown
impl UnwindSafe for ServiceShutdown
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more