Skip to main content

Peer

Type Alias Peer 

Source
pub type Peer = Option<Extension<ConnectInfo<SocketAddr>>>;
Expand description

The downstream peer address, as the listener records it (ConnectInfo).

Aliased Type§

pub enum Peer {
    None,
    Some(Extension<ConnectInfo<SocketAddr>>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Extension<ConnectInfo<SocketAddr>>)

Some value of type T.