pub enum HttpCodeType {
Info,
Success,
Redirect,
ClientError,
ServerError,
UnknownOther,
}Expand description
The general grouping of HTTP Status Codes
Variants§
Info
1xx series, Informational
Success
2xx series, Successful
Redirect
3xx series, Redirects
ClientError
4xx series, Client Errors
ServerError
5xx series, Server Errors
UnknownOther
Others that aren’t above
Trait Implementations§
Source§impl Clone for HttpCodeType
impl Clone for HttpCodeType
Source§fn clone(&self) -> HttpCodeType
fn clone(&self) -> HttpCodeType
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 HttpCodeType
impl Debug for HttpCodeType
Source§impl PartialEq for HttpCodeType
impl PartialEq for HttpCodeType
impl Copy for HttpCodeType
impl Eq for HttpCodeType
impl StructuralPartialEq for HttpCodeType
Auto Trait Implementations§
impl Freeze for HttpCodeType
impl RefUnwindSafe for HttpCodeType
impl Send for HttpCodeType
impl Sync for HttpCodeType
impl Unpin for HttpCodeType
impl UnwindSafe for HttpCodeType
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