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
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
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
ProxyAuthenticationRequired
RequestTimeout
Conflict
Gone
LengthRequired
PreconditionFailed
RequestEntityTooLarge
RequestUriTooLong
UnsupportedMediaType
RequestedRangeNotSatisfiable
ExpectationFailed
ServerError(u32, &'static str)
InternalServerError
NotImplemented
BadGateway
GatewayTimeout
HttpVersionNotSupported
Other(u32, &'static str)
Methods
impl StatusCode
[src]
Trait Implementations
impl Copy for StatusCode
[src]
impl Clone for StatusCode
[src]
fn clone(&self) -> StatusCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more