Logger1Signals

Trait Logger1Signals 

Source
pub trait Logger1Signals {
    // Required methods
    fn metadata_updated<'life0, 'life1, 'async_trait>(
        &'life0 self,
        key: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn store_signal<'life0, 'life1, 'async_trait>(
        &'life0 self,
        batch: Vec<(String, zValue<'life1>, i64)>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Trait providing all signal emission methods for Logger1.

Required Methods§

Source

fn metadata_updated<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn store_signal<'life0, 'life1, 'async_trait>( &'life0 self, batch: Vec<(String, zValue<'life1>, i64)>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementations on Foreign Types§

Source§

impl Logger1Signals for InterfaceRef<Logger1>

Source§

fn metadata_updated<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Signal sent when new metadata is set

Source§

fn store_signal<'life0, 'life1, 'async_trait>( &'life0 self, batch: Vec<(String, zValue<'life1>, i64)>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Signal sent when values are stored

Source§

impl Logger1Signals for SignalEmitter<'_>

Source§

fn metadata_updated<'life0, 'life1, 'async_trait>( &'life0 self, key: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Signal sent when new metadata is set

Source§

fn store_signal<'life0, 'life1, 'async_trait>( &'life0 self, batch: Vec<(String, zValue<'life1>, i64)>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Signal sent when values are stored

Implementors§