Type Alias subcoin_network::PeerId

source ·
pub type PeerId = SocketAddr;
Expand description

Identifies a peer.

Aliased Type§

enum PeerId {
    V4(SocketAddrV4),
    V6(SocketAddrV6),
}

Variants§

§1.0.0

V4(SocketAddrV4)

An IPv4 socket address.

§1.0.0

V6(SocketAddrV6)

An IPv6 socket address.