Trait kaspa_core::task::service::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;
}