Enum civet::status::StatusCode [] [src]

pub enum StatusCode {
    Informational(u32, &'static str),
    Continue,
    SwitchingProtocols,
    Successful(u32, &'static str),
    OK,
    Created,
    Accepted,
    NonAuthoritativeInformation,
    NoContent,
    ResetContent,
    PartialContent,
    Redirection(u32, &'static str),
    MultipleChoices,
    MovedPermanently,
    Found,
    SeeOther,
    NotModified,
    UseProxy,
    TemporaryRedirect,
    ClientError(u32, &'static str),
    BadRequest,
    Unauthorized,
    Forbidden,
    NotFound,
    MethodNotAllowed,
    NotAcceptable,
    ProxyAuthenticationRequired,
    RequestTimeout,
    Conflict,
    Gone,
    LengthRequired,
    PreconditionFailed,
    RequestEntityTooLarge,
    RequestUriTooLong,
    UnsupportedMediaType,
    RequestedRangeNotSatisfiable,
    ExpectationFailed,
    ServerError(u32, &'static str),
    InternalServerError,
    NotImplemented,
    BadGateway,
    ServiceUnavailable,
    GatewayTimeout,
    HttpVersionNotSupported,
    Other(u32, &'static str),
}

Variants

Methods

impl StatusCode
[src]

Trait Implementations

impl Copy for StatusCode
[src]

impl Clone for StatusCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ToStatusCode for StatusCode
[src]