Enum mysql_async::UrlError[][src]

pub enum UrlError {
    FeatureRequired {
        feature: String,
        param: String,
    },
    Invalid,
    InvalidParamValue {
        param: String,
        value: String,
    },
    InvalidPoolConstraints {
        min: usize,
        max: usize,
    },
    Parse(ParseError),
    UnknownParameter {
        param: String,
    },
    UnsupportedScheme {
        scheme: String,
    },
}

This type enumerates connection URL errors.

Variants

FeatureRequired

Fields of FeatureRequired

feature: Stringparam: String
Invalid
InvalidParamValue

Fields of InvalidParamValue

param: Stringvalue: String
InvalidPoolConstraints

Fields of InvalidPoolConstraints

min: usizemax: usize
Parse(ParseError)
UnknownParameter

Fields of UnknownParameter

param: String
UnsupportedScheme

Fields of UnsupportedScheme

scheme: String

Trait Implementations

impl Clone for UrlError[src]

impl Debug for UrlError[src]

impl Display for UrlError[src]

impl Eq for UrlError[src]

impl Error for UrlError[src]

impl From<ParseError> for UrlError[src]

impl From<UrlError> for Error[src]

impl PartialEq<UrlError> for UrlError[src]

impl StructuralEq for UrlError[src]

impl StructuralPartialEq for UrlError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,