pub struct PubSocket { /* private fields */ }

Trait Implementations

Executes the destructor for this type. Read more

Creates and setups new socket monitor Read more

Binds to the endpoint and starts a coroutine to accept new connections on it. Read more

Unbinds the endpoint, blocking until the associated endpoint is no longer in use Read more

Unbinds all bound endpoints, blocking until finished.

Connects to the given endpoint.

Disconnects from the given endpoint, blocking until finished. 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.