Trait simple_life::Stop
source · [−]pub trait Stop: Send {
fn stop<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
Self: 'async_trait;
fn concrete<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = ConcreteStop> + Send + 'async_trait>>
where
Self: Sized + 'static,
Self: 'async_trait,
{ ... }
fn into_guard<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = StopGuard> + Send + 'async_trait>>
where
Self: Sized + 'static,
Self: 'async_trait,
{ ... }
}