Heartbeat

Trait Heartbeat 

Source
pub trait Heartbeat: Send + Sync {
    // Required method
    fn beat(&self);
}

Required Methods§

Source

fn beat(&self)

Implementations on Foreign Types§

Source§

impl Heartbeat for ()

Source§

fn beat(&self)

Source§

impl<U, C> Heartbeat for (U, C)
where U: Deref<Target = AtomicUsize> + Send + Sync, C: Deref<Target = dyn Clock> + Send + Sync,

Source§

fn beat(&self)

Implementors§