Skip to main content

Notify

Trait Notify 

Source
pub trait Notify {
    type Error;
    type Heartbeat: Heartbeat<Self::Error>;

    // Required method
    fn ready(self) -> Result<Self::Heartbeat, Self::Error>;
}
Expand description

Main-process notification performed after every required worker is ready.

Required Associated Types§

Required Methods§

Source

fn ready(self) -> Result<Self::Heartbeat, Self::Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§