[−][src]Enum fibers_http_server::Status
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
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
451
InternalServerError
500
NotImplemented
501
BadGateway
502
503
GatewayTimeout
504
HttpVersionNotSupported
505
VariantAlsoNegotiates
506
InsufficientStorage
507
LoopDetected
508
BandwidthLimitExceeded
509
NotExtended
510
Methods
impl Status
[src]
pub fn code(self) -> u16
[src]
Returns the code of the status.
pub fn reason_phrase(self) -> &'static str
[src]
Returns the typical reason phrase of the status.
Trait Implementations
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for Status
[src]
fn cmp(&self, other: &Status) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Eq for Status
[src]
impl Copy for Status
[src]
impl PartialOrd<Status> for Status
[src]
fn partial_cmp(&self, other: &Status) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl PartialEq<Status> for Status
[src]
fn eq(&self, other: &Status) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Display for Status
[src]
impl Hash for Status
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Status
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,