Struct tokio::net::unix::SocketAddr

source ·
pub struct SocketAddr(_);
Expand description

An address associated with a Tokio Unix socket.

Implementations§

Returns true if the address is unnamed.

Documentation reflected in SocketAddr

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

Documentation reflected in SocketAddr

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.