Trait Status

Source
pub trait Status {
    // Required method
    fn update(&self, status: &str);
}
Expand description

Trait for observing status updates.

Required Methods§

Source

fn update(&self, status: &str)

Update the observer with the provided status.

Implementations on Foreign Types§

Source§

impl Status for ()

Source§

fn update(&self, _: &str)

Implementors§