Skip to main content

UpsertErrorEmitter

Trait UpsertErrorEmitter 

Source
pub(crate) trait UpsertErrorEmitter<T> {
    // Required method
    fn emit<'life0, 'async_trait>(
        &'life0 mut self,
        context: String,
        e: Error,
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn emit<'life0, 'async_trait>( &'life0 mut self, context: String, e: Error, ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl<T: Timestamp> UpsertErrorEmitter<T> for (&mut AsyncOutputHandle<T, CapacityContainerBuilder<Vec<(Option<GlobalId>, HealthStatusUpdate)>>>, &Capability<T>)

Source§

fn emit<'life0, 'async_trait>( &'life0 mut self, context: String, e: Error, ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§