Enum maxminddb::MaxMindDBError [] [src]

pub enum MaxMindDBError {
    AddressNotFoundError(String),
    InvalidDatabaseError(String),
    IoError(String),
    MapError(String),
    DecodingError(String),
}

Variants

AddressNotFoundError(String)InvalidDatabaseError(String)IoError(String)MapError(String)DecodingError(String)

Trait Implementations

impl PartialEq for MaxMindDBError
[src]

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

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

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

This method tests for !=.

impl Debug for MaxMindDBError
[src]

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

Formats the value using the given formatter.

impl From<Error> for MaxMindDBError
[src]

fn from(err: Error) -> MaxMindDBError

Performs the conversion.