[][src]Enum httpstatus::StatusClass

pub enum StatusClass {
    Informational,
    Success,
    Redirection,
    ClientError,
    ServerError,
    Unknown,
}

Represents an HTTP status class

Variants

Informational

1xx Informational

Success

2xx Success

Redirection

3xx Redirection

ClientError

4xx Client errors

ServerError

5xx Server errors

Unknown

Unknown status class

Trait Implementations

impl Clone for StatusClass[src]

impl Debug for StatusClass[src]

impl<'de> Deserialize<'de> for StatusClass[src]

impl Eq for StatusClass[src]

impl Hash for StatusClass[src]

impl Ord for StatusClass[src]

impl PartialEq<StatusClass> for StatusClass[src]

impl PartialOrd<StatusClass> for StatusClass[src]

impl Serialize for StatusClass[src]

impl StructuralEq for StatusClass[src]

impl StructuralPartialEq for StatusClass[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.