Trait s2n_quic::provider::event::Meta

source ·
pub trait Meta: Debug {
    // Required methods
    fn endpoint_type(&self) -> &EndpointType;
    fn subject(&self) -> Subject;
    fn timestamp(&self) -> &Timestamp;
}
Expand description

Provides metadata related to an event

Required Methods§

source

fn endpoint_type(&self) -> &EndpointType

Returns whether the local endpoint is a Client or Server

source

fn subject(&self) -> Subject

A context from which the event is being emitted

An event can occur in the context of an Endpoint or Connection

source

fn timestamp(&self) -> &Timestamp

The time the event occurred

Implementors§