Enum bip_utracker::ClientError
[−]
[src]
pub enum ClientError { MaxTimeout, MaxLength, ClientShutdown, ServerError, IPVersionMismatch, ServerMessage(ErrorResponse<'static>), }
Errors occuring as the result of a ClientRequest.
Variants
MaxTimeout
Request timeout reached.
MaxLength
Request length exceeded the packet length.
ClientShutdown
Client shut down the request client.
ServerError
Server sent us an invalid message.
IPVersionMismatch
Requested to send from IPv4 to IPv6 or vice versa.
ServerMessage(ErrorResponse<'static>)
Server returned an error message.
Trait Implementations
impl Debug for ClientError
[src]
impl Clone for ClientError
[src]
fn clone(&self) -> ClientError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ClientError
[src]
fn eq(&self, __arg_0: &ClientError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ClientError) -> bool
[src]
This method tests for !=
.