Skip to main content

SideData

Trait SideData 

Source
pub trait SideData: Side + Sized {
    type Handshake;
    type PeerIdentity<'a>;
}
Expand description

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

Required Associated Types§

Source

type Handshake

Type representing an in-progress 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§