pub enum ResponseStatusCategory {
Informational,
Success,
Redirection,
ClientError,
ServerError,
Unknown,
}Expand description
Response status category labels.
Variants§
Informational
A stable label variant.
Success
A stable label variant.
Redirection
A stable label variant.
ClientError
A stable label variant.
ServerError
A stable label variant.
Unknown
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseStatusCategory
impl Clone for ResponseStatusCategory
Source§fn clone(&self) -> ResponseStatusCategory
fn clone(&self) -> ResponseStatusCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseStatusCategory
impl Debug for ResponseStatusCategory
Source§impl Default for ResponseStatusCategory
impl Default for ResponseStatusCategory
Source§impl Display for ResponseStatusCategory
impl Display for ResponseStatusCategory
Source§impl FromStr for ResponseStatusCategory
impl FromStr for ResponseStatusCategory
Source§impl Hash for ResponseStatusCategory
impl Hash for ResponseStatusCategory
Source§impl Ord for ResponseStatusCategory
impl Ord for ResponseStatusCategory
Source§fn cmp(&self, other: &ResponseStatusCategory) -> Ordering
fn cmp(&self, other: &ResponseStatusCategory) -> Ordering
1.21.0 · Source§fn 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
Source§impl PartialEq for ResponseStatusCategory
impl PartialEq for ResponseStatusCategory
Source§impl PartialOrd for ResponseStatusCategory
impl PartialOrd for ResponseStatusCategory
impl Copy for ResponseStatusCategory
impl Eq for ResponseStatusCategory
impl StructuralPartialEq for ResponseStatusCategory
Auto Trait Implementations§
impl Freeze for ResponseStatusCategory
impl RefUnwindSafe for ResponseStatusCategory
impl Send for ResponseStatusCategory
impl Sync for ResponseStatusCategory
impl Unpin for ResponseStatusCategory
impl UnsafeUnpin for ResponseStatusCategory
impl UnwindSafe for ResponseStatusCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more