Trait EventSender

Source
pub trait EventSender: Sync + Send {
    // Required method
    fn send_event(
        &self,
        event: Event,
    ) -> BoxFuture<'_, Option<Result<(), SendError<Event>>>>;
}
Expand description

A trait to allow sending statistics events

Required Methods§

Source

fn send_event( &self, event: Event, ) -> BoxFuture<'_, Option<Result<(), SendError<Event>>>>

Implementors§