Enum stry_common::uri::UriError[][src]

pub enum UriError {
    InvalidHostPort {
        port: String,
        err: ParseIntError,
    },
    InvalidEncoding {
        err: Utf8Error,
    },
    MissingScheme,
    MissingUsername,
    MissingPassword,
    MissingHostPort,
    UnexpectedEof,
    UnexpectedCharacter {
        expected: char,
        got: char,
    },
}

Variants

InvalidHostPort

Fields of InvalidHostPort

port: Stringerr: ParseIntError
InvalidEncoding

Fields of InvalidEncoding

err: Utf8Error
MissingScheme
MissingUsername
MissingPassword
MissingHostPort
UnexpectedEof
UnexpectedCharacter

Fields of UnexpectedCharacter

expected: chargot: char

Trait Implementations

impl Debug for UriError[src]

impl Display for UriError[src]

impl Error for UriError[src]

impl From<(String, ParseIntError)> for UriError[src]

impl From<Utf8Error> for UriError[src]

impl PartialEq<UriError> for UriError[src]

impl StructuralPartialEq for UriError[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> IntoOption for T[src]

impl<T> IntoResult for T[src]

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.