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§
Sourcetype Handshake: TryFrom<Connection<Self, Tcp>, Error = Error>
type Handshake: TryFrom<Connection<Self, Tcp>, Error = Error>
Type representing an in-progress TCP handshake.
Sourcetype QuicHandshake: FromConn<Self>
type QuicHandshake: FromConn<Self>
Type representing an in-progress QUIC handshake.
Sourcetype PeerIdentity<'a>
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".