Trait BetterstackClientTrait

Source
pub trait BetterstackClientTrait: Send + Sync {
    // Required method
    fn put_logs<'a>(
        &'a self,
        dest: LogDestination,
        logs: Vec<LogEvent>,
    ) -> Pin<Box<dyn Future<Output = Result<(), BetterstackError>> + Send + 'a>>;
}

Required Methods§

Source

fn put_logs<'a>( &'a self, dest: LogDestination, logs: Vec<LogEvent>, ) -> Pin<Box<dyn Future<Output = Result<(), BetterstackError>> + Send + 'a>>

Implementors§