Trait Service

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

All services should implement this trait. It guarantees that we will be able to run the service inside a thread (it is Send).

Required Methods§

Source

fn name(&self) -> &str

Implementors§