Enum pen::http_errors::HTTPError [] [src]

pub enum HTTPError {
    BadRequest,
    Unauthorized,
    Forbidden,
    NotFound,
    MethodNotAllowed(Option<Vec<Method>>),
    NotAcceptable,
    RequestTimeout,
    Conflict,
    Gone,
    LengthRequired,
    PreconditionFailed,
    RequestEntityTooLarge,
    RequestURITooLarge,
    UnsupportedMediaType,
    RequestedRangeNotSatisfiable,
    ExpectationFailed,
    ImATeapot,
    UnprocessableEntity,
    PreconditionRequired,
    TooManyRequests,
    RequestHeaderFieldsTooLarge,
    InternalServerError,
    NotImplemented,
    BadGateway,
    ServiceUnavailable,
}

Variants

Methods

impl HTTPError
[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for HTTPError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HTTPError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for HTTPError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for HTTPError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl From<HTTPError> for PenError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for HTTPError

impl Sync for HTTPError