Struct mio::net::SocketAddr[][src]

pub struct SocketAddr { /* fields omitted */ }
This is supported on crate feature net only.
Expand description

An address associated with a mio specific Unix socket.

This is implemented instead of imported from net::SocketAddr because there is no way to create a net::SocketAddr. One must be returned by accept, so this is returned instead.

Implementations

This is supported on crate feature os-poll only.

Returns true if the address is unnamed.

Documentation reflected in SocketAddr

This is supported on crate feature os-poll only.

Returns the contents of this address if it is a pathname address.

Documentation reflected in SocketAddr

This is supported on crate feature os-poll only.

Returns the contents of this address if it is an abstract namespace without the leading null byte.

Trait Implementations

Formats the value using the given formatter. Read more

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.