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 Eq for ClientError
[src]

impl PartialEq for ClientError
[src]

fn eq(&self, __arg_0: &ClientError) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ClientError) -> bool

This method tests for !=.

impl Clone for ClientError
[src]

fn clone(&self) -> ClientError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ClientError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.