AsyncService

Trait AsyncService 

Source
pub trait AsyncService: CastFromSync {
    // Required methods
    fn ident(self: Arc<Self>) -> &'static str;
    fn start(self: Arc<Self>) -> AsyncServiceFuture;
    fn signal_exit(self: Arc<Self>);
    fn stop(self: Arc<Self>) -> AsyncServiceFuture;
}

Required Methods§

Source

fn ident(self: Arc<Self>) -> &'static str

Source

fn start(self: Arc<Self>) -> AsyncServiceFuture

Source

fn signal_exit(self: Arc<Self>)

Source

fn stop(self: Arc<Self>) -> AsyncServiceFuture

Implementors§