Enum rocket::http::StatusClass
[−]
[src]
pub enum StatusClass { Informational, Success, Redirection, ClientError, ServerError, Unknown, }
Enumeration of HTTP status classes.
Variants
Informational
Indicates a provisional response.
Success
Indicates that a request has succeeded.
Redirection
Indicates that further action needs to be taken by the user agent in order to fulfill the request.
ClientError
Intended for cases in which the client seems to have erred.
ServerError
Indicates cases in which the server is aware that it has erred or is incapable of performing the request.
Unknown
Indicates that the status code is nonstandard and unknown.
Trait Implementations
impl Debug for StatusClass
[src]
impl Clone for StatusClass
[src]
fn clone(&self) -> StatusClass
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
impl Copy for StatusClass
[src]
impl Hash for StatusClass
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for StatusClass
[src]
fn eq(&self, __arg_0: &StatusClass) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.