Trait torrust_tracker::tracker::statistics::EventSender
source · pub trait EventSender: Sync + Send {
// Required method
fn send_event<'life0, 'async_trait>(
&'life0 self,
event: Event
) -> Pin<Box<dyn Future<Output = Option<Result<(), SendError<Event>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
A trait to allow sending statistics events