pub enum Code {
Show 27 variants
Empty,
Get,
Post,
Put,
Delete,
Created,
Deleted,
Valid,
Changed,
Content,
BadRequest,
Unauthorized,
BadOption,
Forbidden,
NotFound,
MethodNotAllowed,
NotAcceptable,
PreconditionFailed,
RequestEntityTooLarge,
UnsupportedContentFormat,
InternalServerError,
NotImplemented,
BadGateway,
ServiceUnavailable,
GatewayTimeout,
ProxyingNotSupported,
Unknown(u8),
}Variants§
Empty
Get
Post
Put
Delete
Created
Deleted
Valid
Changed
Content
BadRequest
BadOption
Forbidden
NotFound
MethodNotAllowed
NotAcceptable
PreconditionFailed
RequestEntityTooLarge
UnsupportedContentFormat
InternalServerError
NotImplemented
BadGateway
GatewayTimeout
ProxyingNotSupported
Unknown(u8)
Implementations§
Trait Implementations§
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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