Skip to main content

Status

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.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Status for ()

Source§

fn update(&self, _: &str)

Implementors§