Struct killswitch::Shutdown [−][src]
pub struct Shutdown { /* fields omitted */ }Expand description
Receiver object for kill switches.
Implementations
pub fn wait(&self) -> ShutdownFutureⓘNotable traits for ShutdownFutureimpl Future for ShutdownFuture type Output = ();
pub fn wait(&self) -> ShutdownFutureⓘNotable traits for ShutdownFutureimpl Future for ShutdownFuture type Output = ();
Notable traits for ShutdownFuture
impl Future for ShutdownFuture type Output = ();Return a future which waits for the kill switch to trigger.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shutdown
impl UnwindSafe for Shutdown
Blanket Implementations
Mutably borrows from an owned value. Read more