Struct http::status::InvalidStatusCode[][src]

pub struct InvalidStatusCode { /* fields omitted */ }

A possible error value when converting a StatusCode from a u16 or &str

This error indicates that the supplied input was not a valid number, was less than 100, or was greater than 999.

Trait Implementations

impl Debug for InvalidStatusCode[src]

impl Display for InvalidStatusCode[src]

impl Error for InvalidStatusCode[src]

impl From<InvalidStatusCode> for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for InvalidStatusCode

impl Send for InvalidStatusCode

impl Sync for InvalidStatusCode

impl Unpin for InvalidStatusCode

impl UnwindSafe for InvalidStatusCode

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.