Enum http_io::protocol::HttpStatus
source · [−]pub enum HttpStatus {
Show 41 variants
Accepted,
BadGateway,
BadRequest,
Conflict,
Continue,
Created,
ExpectationFailed,
Forbidden,
Found,
GatewayTimeout,
Gone,
HttpVersionNotSupported,
InternalServerError,
LengthRequired,
MethodNotAllowed,
MovedPermanently,
MultipleChoices,
NoContent,
NonAuthoritativeInformation,
NotAcceptable,
NotFound,
NotImplemented,
NotModified,
OK,
PartialContent,
PaymentRequired,
PreconditionFailed,
ProxyAuthenticationRequired,
RequestEntityTooLarge,
RequestTimeout,
RequestUriTooLong,
RequestedRangeNotSatisfiable,
ResetContent,
SeeOther,
ServiceUnavailable,
SwitchingProtocols,
TemporaryRedirect,
Unauthorized,
UnsupportedMediaType,
UseProxy,
Unknown(u32),
}Variants
Accepted
BadGateway
BadRequest
Conflict
Continue
Created
ExpectationFailed
Forbidden
Found
GatewayTimeout
Gone
HttpVersionNotSupported
InternalServerError
LengthRequired
MethodNotAllowed
MovedPermanently
MultipleChoices
NoContent
NonAuthoritativeInformation
NotAcceptable
NotFound
NotImplemented
NotModified
OK
PartialContent
PaymentRequired
PreconditionFailed
ProxyAuthenticationRequired
RequestEntityTooLarge
RequestTimeout
RequestUriTooLong
RequestedRangeNotSatisfiable
ResetContent
SeeOther
ServiceUnavailable
SwitchingProtocols
TemporaryRedirect
Unauthorized
UnsupportedMediaType
UseProxy
Unknown(u32)
Trait Implementations
sourceimpl Clone for HttpStatus
impl Clone for HttpStatus
sourcefn clone(&self) -> HttpStatus
fn clone(&self) -> HttpStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for HttpStatus
impl Debug for HttpStatus
sourceimpl Display for HttpStatus
impl Display for HttpStatus
sourceimpl FromStr for HttpStatus
impl FromStr for HttpStatus
sourceimpl PartialEq<HttpStatus> for HttpStatus
impl PartialEq<HttpStatus> for HttpStatus
sourcefn eq(&self, other: &HttpStatus) -> bool
fn eq(&self, other: &HttpStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for HttpStatus
impl Eq for HttpStatus
impl StructuralEq for HttpStatus
impl StructuralPartialEq for HttpStatus
Auto Trait Implementations
impl RefUnwindSafe for HttpStatus
impl Send for HttpStatus
impl Sync for HttpStatus
impl Unpin for HttpStatus
impl UnwindSafe for HttpStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more