Trait nakamoto_net::Waker

source ·
pub trait Waker: Send + Sync + Clone {
    fn wake(&self) -> Result<()>;
}
Expand description

Used by certain types of reactors to wake the event loop, for example when a Service::Command is ready to be processed by the service.

Required Methods

Wake up! Call this after sending a command to make sure the command is processed in a timely fashion.

Implementors