Trait Finalizer

Source
pub trait Finalizer<O>
where Self: Send + 'static, O: Send + 'static,
{ // Provided method fn finalize<'life0, 'async_trait>( &'life0 mut self, output: Result<O, TaskError>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where Self: Send + 'async_trait, 'life0: 'async_trait { ... } }

Provided Methods§

Source

fn finalize<'life0, 'async_trait>( &'life0 mut self, output: Result<O, TaskError>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl<A, O> Finalizer<O> for Address<A>
where A: OnOutput<O>, O: Send + 'static,

Source§

fn finalize<'life0, 'async_trait>( &'life0 mut self, output: Result<O, TaskError>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§