Skip to main content

PeerAddr

Type Alias PeerAddr 

Source
pub type PeerAddr = SocketAddr;
Expand description

The address of a remote peer the client exchanges data with through the relay.

Aliased Type§

pub enum PeerAddr {
    V4(SocketAddrV4),
    V6(SocketAddrV6),
}

Variants§

§1.0.0

V4(SocketAddrV4)

An IPv4 socket address.

§1.0.0

V6(SocketAddrV6)

An IPv6 socket address.