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

State of a GnsSocket that has been determined to be a client, usually via the GnsSocket::connect call. In this state, the socket hold the data required to receive and send messages.

Trait Implementations

Return a reference to the connection event queue. The queue is thread-safe.

Poll for incoming messages. K represent the maximum number of messages we are willing to receive. Return the actual number of messsages that has been received. 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.