Stoppable

Trait Stoppable 

Source
pub trait Stoppable {
    // Required method
    fn send(self);
}
Expand description

Abstraction over a one-shot stop signal.

Required Methods§

Source

fn send(self)

Send a best-effort stop signal to request graceful shutdown.

Implementations on Foreign Types§

Source§

impl Stoppable for Sender<()>

Source§

fn send(self)

Implementors§