Trait Service

Source
pub trait Service {
    // Required method
    fn name(&self) -> &str;

    // Provided method
    fn health_check(&self) -> bool { ... }
}

Required Methods§

Source

fn name(&self) -> &str

Provided Methods§

Implementors§