Skip to main content

Event

Type Alias Event 

pub type Event = EventView<'static>;
Available on crate features quic and std only.
Expand description

An event that may outlive the observed connection.

Aliased Type§

pub enum Event {
    Packet(PacketEvent),
    Negotiation(NegotiationEventView<'static>),
    Lifecycle(LifecycleEventView<'static>),
    Path(PathEvent),
    Drop(DropEvent),
}

Variants§

§

Packet(PacketEvent)

Packet transmission, reception, loss, and recovery metrics.

§

Negotiation(NegotiationEventView<'static>)

Version, ALPN, transport parameter, and traffic-key changes.

§

Lifecycle(LifecycleEventView<'static>)

Connection endpoints, lifecycle transitions, and closure details.

§

Path(PathEvent)

Network tuples, migration, connection IDs, and recovery configuration.

§

Drop(DropEvent)

Discarded packets and their rejection reasons.