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§