ConnectionState

Trait ConnectionState 

Source
pub trait ConnectionState: Sealed {
    type Data: Debug + Clone;
}
Expand description

Trait to track the state of a Connection at compile time.

Required Associated Types§

Source

type Data: Debug + Clone

State-specific data stored in the Connection.

Implementors§

Source§

impl ConnectionState for HandshakeCompleted

Source§

type Data = HandshakeCompletedData

Source§

impl ConnectionState for IncomingZeroRtt

Source§

type Data = IncomingZeroRttData

Source§

impl ConnectionState for OutgoingZeroRtt

Source§

type Data = OutgoingZeroRttData