Skip to main content

EventSink

Type Alias EventSink 

Source
pub type EventSink = Box<dyn FnMut(Instant, HostEvent) + Send>;
Expand description

Receives the session’s events other than responses, with the host time each arrived: protocol events, sequence gaps and resyncs, and finally Closed.

Aliased Type§

pub struct EventSink(/* private fields */);