Enum mysql::UrlError [] [src]

pub enum UrlError {
    ParseError(ParseError),
    UnsupportedScheme(String),
    FeatureRequired(StringString),
    InvalidValue(StringString),
    UnknownParameter(String),
    BadUrl,
}

Variants

ParseError(ParseError)UnsupportedScheme(String)FeatureRequired(StringString)

(feature_name, parameter_name)

InvalidValue(StringString)

(feature_name, value)

UnknownParameter(String)BadUrl

Trait Implementations

impl Clone for UrlError
[src]

fn clone(&self) -> UrlError

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 PartialEq for UrlError
[src]

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

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

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

This method tests for !=.

impl Eq for UrlError
[src]

impl Error for UrlError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more

impl Display for UrlError
[src]

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

Formats the value using the given formatter.

impl Debug for UrlError
[src]

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

Formats the value using the given formatter.

impl From<ParseError> for UrlError
[src]

fn from(x: ParseError) -> UrlError

Performs the conversion.