Skip to main content

SideData

Trait SideData 

Source
pub trait SideData:
    SideOutput
    + Debug
    + Side
    + Sized
    + 'static {
    type Handshake: TryFrom<Connection<Self, Tcp>, Error = Error>;
    type QuicHandshake: FromConn<Self>;
    type PeerIdentity<'a>;
}
Expand description

Data specific to the peer’s side (client or server).

Required Associated Types§

Source

type Handshake: TryFrom<Connection<Self, Tcp>, Error = Error>

Type representing an in-progress TCP handshake.

Source

type QuicHandshake: FromConn<Self>

Type representing an in-progress QUIC handshake.

Source

type PeerIdentity<'a>

Type representing the peer’s identity.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§