pub enum ResponseType {
Show 28 variants
Created,
Deleted,
Valid,
Changed,
Content,
Continue,
BadRequest,
Unauthorized,
BadOption,
Forbidden,
NotFound,
MethodNotAllowed,
NotAcceptable,
Conflict,
PreconditionFailed,
RequestEntityTooLarge,
UnsupportedContentFormat,
RequestEntityIncomplete,
UnprocessableEntity,
TooManyRequests,
InternalServerError,
NotImplemented,
BadGateway,
ServiceUnavailable,
GatewayTimeout,
ProxyingNotSupported,
HopLimitReached,
UnKnown,
}Expand description
The response codes.
Variants§
Created
Deleted
Valid
Changed
Content
Continue
BadRequest
BadOption
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
Conflict
PreconditionFailed
RequestEntityTooLarge
UnsupportedContentFormat
RequestEntityIncomplete
UnprocessableEntity
TooManyRequests
InternalServerError
NotImplemented
BadGateway
GatewayTimeout
ProxyingNotSupported
HopLimitReached
UnKnown
Implementations§
Trait Implementations§
Source§impl Clone for ResponseType
impl Clone for ResponseType
Source§fn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
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 ResponseType
impl Debug for ResponseType
Source§impl PartialEq for ResponseType
impl PartialEq for ResponseType
Source§impl PartialOrd for ResponseType
impl PartialOrd for ResponseType
impl Copy for ResponseType
impl StructuralPartialEq for ResponseType
Auto Trait Implementations§
impl Freeze for ResponseType
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
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