Enum mysql::UrlError
[−]
[src]
pub enum UrlError {
ParseError(ParseError),
UnsupportedScheme(String),
FeatureRequired(String, String),
InvalidValue(String, String),
UnknownParameter(String),
BadUrl,
}Variants
ParseError(ParseError)UnsupportedScheme(String)FeatureRequired(String, String)(feature_name, parameter_name)
InvalidValue(String, String)(feature_name, value)
UnknownParameter(String)BadUrl
Trait Implementations
impl Eq for UrlError[src]
impl PartialEq for UrlError[src]
fn eq(&self, __arg_0: &UrlError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UrlError) -> bool[src]
This method tests for !=.
impl Clone for UrlError[src]
fn clone(&self) -> UrlError[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 Error for UrlError[src]
fn description(&self) -> &str[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for UrlError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Debug for UrlError[src]
impl From<ParseError> for UrlError[src]
fn from(x: ParseError) -> UrlError[src]
Performs the conversion.