pub struct ShutdownHandle { /* private fields */ }Expand description
Stops a running LinksServer::serve from another thread.
Implementations§
Trait Implementations§
Source§impl Clone for ShutdownHandle
impl Clone for ShutdownHandle
Auto Trait Implementations§
impl !RefUnwindSafe for ShutdownHandle
impl !UnwindSafe for ShutdownHandle
impl Forget for ShutdownHandle
impl Freeze for ShutdownHandlewhere
*mut Counter<Channel<Job>>: Freeze,
*mut Counter<Channel<Job>>: Freeze,
*mut Counter<Channel<Job>>: Freeze,
*const ArcInner<Atomic<bool>> is !null: Freeze,
PhantomData<ArcInner<Atomic<bool>>>: Freeze,
*const ArcInner<dyn Fn() + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Fn() + Sync + Send>>: Freeze,
impl Move for ShutdownHandle
impl Send for ShutdownHandle
impl Sync for ShutdownHandle
impl Unpin for ShutdownHandle
impl UnsafeUnpin for ShutdownHandlewhere
*mut Counter<Channel<Job>>: UnsafeUnpin,
*mut Counter<Channel<Job>>: UnsafeUnpin,
*mut Counter<Channel<Job>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
*const ArcInner<dyn Fn() + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn() + Sync + Send>>: UnsafeUnpin,
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