pub struct Client { /* private fields */ }

Implementations

Error type and meaning

  • Not connected: The client did not have a chance to send the request because the network is down.
  • Permission denied: The network does not allow the client to send requests.
  • Broken pipe: The network no longer allows the client to send requests.
  • Not found: The network could not find the target server.
  • Invalid input: The server could not find the service / method to call.
  • Connection reset: The server received the request, but decided to stop responding.
  • Connection aborted: The client will not receive a reply because the the connection is closed by the network.

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.