#[repr(u16)]pub enum HttpError {
Show 17 variants
Cont = 100,
Ok = 200,
Created = 201,
Accepted = 202,
NoContent = 204,
MultipleChoices = 300,
MovedPermanently = 301,
MovedTemporarily = 302,
NotModified = 304,
BadRequest = 400,
Unauthorized = 401,
Forbidden = 403,
NotFound = 404,
InternalServerError = 500,
NotImplemented = 501,
BadGateway = 502,
ServiceUnavailable = 503,
}Variants§
Cont = 100
Ok = 200
Created = 201
Accepted = 202
NoContent = 204
MultipleChoices = 300
MovedPermanently = 301
MovedTemporarily = 302
NotModified = 304
BadRequest = 400
Forbidden = 403
NotFound = 404
InternalServerError = 500
NotImplemented = 501
BadGateway = 502
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HttpError
impl RefUnwindSafe for HttpError
impl Send for HttpError
impl Sync for HttpError
impl Unpin for HttpError
impl UnwindSafe for HttpError
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