Struct minion::Canceller [−][src]
pub struct Canceller { /* fields omitted */ }
Expand description
A handle that allows the cancellation of a running service loop.
Implementations
Cancel the currently running service loop. This method does not block; it sends a signal that the service loop should cease execution and returns immediately.
Note that this will not interrupt a currently executing Cancellable::for_each
.
Instead, the next time Cancellable::for_each
would be called, the service loop will
return.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Canceller
impl UnwindSafe for Canceller
Blanket Implementations
Mutably borrows from an owned value. Read more