Struct containerd_shim::synchronous::ExitSignal
source · pub struct ExitSignal(/* private fields */);
Expand description
Helper structure that wraps atomic bool to signal shim server when to shutdown the TTRPC server.
Shim implementations are responsible for calling Self::signal
.
Implementations§
Trait Implementations§
source§impl Default for ExitSignal
impl Default for ExitSignal
source§fn default() -> ExitSignal
fn default() -> ExitSignal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ExitSignal
impl Send for ExitSignal
impl Sync for ExitSignal
impl Unpin for ExitSignal
impl !UnwindSafe for ExitSignal
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