[][src]Enum libvplan::error::RequestError

pub enum RequestError {
    InvalidDay,
    URLParsingError(InvalidUri),
    BodyParsingError(FromUtf8Error),
    XMLParsingError(ParsingError),
    Http(Error),
    Hyper(Error),
}

An error during the retrieval of a vplan via the client.

Variants

InvalidDay

Passed an invalid day (Saturday or Sunday).

URLParsingError(InvalidUri)

Error parsing URL.

BodyParsingError(FromUtf8Error)

Error during parsing body (bytes) to string.

XMLParsingError(ParsingError)

Error during parsing the XML response.

Http(Error)

An error from the http crate.

Hyper(Error)

An error from the hyper crate.

Trait Implementations

impl Debug for RequestError[src]

impl Display for RequestError[src]

impl From<Error> for RequestError[src]

impl From<Error> for RequestError[src]

Auto Trait Implementations

impl !RefUnwindSafe for RequestError

impl Send for RequestError

impl !Sync for RequestError

impl Unpin for RequestError

impl !UnwindSafe for RequestError

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> 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.