pub struct ShutdownHandle { /* private fields */ }Expand description
Cheaply-clonable shutdown handle. Outlives SmbServer::serve consuming
the server.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ShutdownHandle
impl Freeze for ShutdownHandle
impl Move for ShutdownHandle
impl RefUnwindSafe for ShutdownHandle
impl Send for ShutdownHandle
impl Sync for ShutdownHandle
impl Unpin for ShutdownHandle
impl UnsafeUnpin for ShutdownHandle
impl UnwindSafe for ShutdownHandle
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