pub struct OwnedSendHalf { /* private fields */ }
Expand description

Owned send half of a UnixDatagram, created by into_split.

Implementations

Attempts to put the two “halves” of a UnixDatagram back together and recover the original socket. Succeeds only if the two “halves” originated from the same call to into_split.

Sends data on the socket to the specified address.

Sends data on the socket to the socket’s peer.

Destroy the send half, but don’t close the send half of the stream until the receive half is dropped. If the read half has already been dropped, this closes the stream.

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Executes the destructor for this type. 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.