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§
fn put_logs<'a>( &'a self, dest: LogDestination, logs: Vec<LogEvent>, ) -> Pin<Box<dyn Future<Output = Result<(), BetterstackError>> + Send + 'a>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".