Enum fibers_http_server::Status
source · pub enum Status {
Show 57 variants
Continue,
SwitchingProtocols,
Processing,
Ok,
Created,
Accepted,
NonAuthoritativeInformation,
NoContent,
ResetContent,
PartialContent,
MultiStatus,
AlreadyReported,
ImUsed,
MultipleChoices,
MovedPermanently,
Found,
SeeOther,
NotModified,
UseProxy,
TemporaryRedirect,
PermanentRedirect,
BadRequest,
Unauthorized,
PaymentRequired,
Forbidden,
NotFound,
MethodNotAllowed,
NotAcceptable,
ProxyAuthenticationRequired,
RequestTimeout,
Conflict,
Gone,
LengthRequired,
PreconditionFailed,
PayloadTooLarge,
UriTooLong,
UnsupportedMediaType,
RangeNotSatisfiable,
ExceptionFailed,
ImATeapot,
MisdirectedRequest,
UnprocessableEntity,
Locked,
FailedDependency,
UpgradeRequired,
UnavailableForLegalReasons,
InternalServerError,
NotImplemented,
BadGateway,
ServiceUnavailable,
GatewayTimeout,
HttpVersionNotSupported,
VariantAlsoNegotiates,
InsufficientStorage,
LoopDetected,
BandwidthLimitExceeded,
NotExtended,
}
Expand description
Response status.
Variants
Continue
100
SwitchingProtocols
101
Processing
103
Ok
200
Created
201
Accepted
202
NonAuthoritativeInformation
203
NoContent
204
ResetContent
205
PartialContent
206
MultiStatus
207
AlreadyReported
208
ImUsed
226
MultipleChoices
300
MovedPermanently
301
Found
302
SeeOther
303
NotModified
304
UseProxy
305
TemporaryRedirect
307
PermanentRedirect
308
BadRequest
400
Unauthorized
401
PaymentRequired
402
Forbidden
403
NotFound
404
MethodNotAllowed
405
NotAcceptable
406
ProxyAuthenticationRequired
407
RequestTimeout
408
Conflict
409
Gone
410
LengthRequired
411
PreconditionFailed
412
PayloadTooLarge
413
UriTooLong
414
UnsupportedMediaType
415
RangeNotSatisfiable
416
ExceptionFailed
417
ImATeapot
418
MisdirectedRequest
421
UnprocessableEntity
422
Locked
423
FailedDependency
424
UpgradeRequired
426
UnavailableForLegalReasons
451
InternalServerError
500
NotImplemented
501
BadGateway
502
ServiceUnavailable
503
GatewayTimeout
504
HttpVersionNotSupported
505
VariantAlsoNegotiates
506
InsufficientStorage
507
LoopDetected
508
BandwidthLimitExceeded
509
NotExtended
510
Implementations
Trait Implementations
sourceimpl Ord for Status
impl Ord for Status
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Status> for Status
impl PartialOrd<Status> for Status
sourcefn partial_cmp(&self, other: &Status) -> Option<Ordering>
fn partial_cmp(&self, other: &Status) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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