Enum posish::net::SocketAddr[][src]

pub enum SocketAddr {
    V4(SocketAddrV4),
    V6(SocketAddrV6),
    Unix(SocketAddrUnix),
}
Expand description

accept can dynamically accept any kind of address.

Variants

An IPv4 socket address.

An IPv6 socket address.

A Unix-domain socket address.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.