[−][src]Trait rgb::service::Service
Trait for simpler service implementation with run loops
Required methods
#[must_use]pub fn run_loop<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait, [src]
self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
Self: 'async_trait,
Run loop for the service, which must never return. If you have a run
loop that may fail, use TryService trait istead