pub struct HttpStatusCodeErrors;Implementations§
Source§impl HttpStatusCodeErrors
impl HttpStatusCodeErrors
pub const INVALID_URL: ErrorKind
pub const GENERIC_HTTP_CLIENT_ERROR: ErrorKind
pub const MULTIPLE_CHOICES: ErrorKind
pub const MOVED_PERMANENTLY: ErrorKind
pub const FOUND: ErrorKind
pub const SEE_OTHER: ErrorKind
pub const NOT_MODIFIED: ErrorKind
pub const USE_PROXY: ErrorKind
pub const TEMPORARY_REDIRECT: ErrorKind
pub const PERMANENT_REDIRECT: ErrorKind
pub const BAD_REQUEST: ErrorKind
pub const UNAUTHORIZED: ErrorKind
pub const PAYMENT_REQUIRED: ErrorKind
pub const FORBIDDEN: ErrorKind
pub const NOT_FOUND: ErrorKind
pub const METHOD_NOT_ALLOWED: ErrorKind
pub const NOT_ACCEPTABLE: ErrorKind
pub const PROXY_AUTHENTICATION_REQUIRED: ErrorKind
pub const REQUEST_TIMEOUT: ErrorKind
pub const CONFLICT: ErrorKind
pub const GONE: ErrorKind
pub const LENGTH_REQUIRED: ErrorKind
pub const PRECONDITION_FAILED: ErrorKind
pub const PAYLOAD_TOO_LARGE: ErrorKind
pub const URI_TOO_LONG: ErrorKind
pub const UNSUPPORTED_MEDIA_TYPE: ErrorKind
pub const RANGE_NOT_SATISFIABLE: ErrorKind
pub const EXPECTATION_FAILED: ErrorKind
pub const IM_A_TEAPOT: ErrorKind
pub const MISDIRECTED_REQUEST: ErrorKind
pub const UNPROCESSABLE_ENTITY: ErrorKind
pub const LOCKED: ErrorKind
pub const FAILED_DEPENDENCY: ErrorKind
pub const UPGRADE_REQUIRED: ErrorKind
pub const PRECONDITION_REQUIRED: ErrorKind
pub const TOO_MANY_REQUESTS: ErrorKind
pub const REQUEST_HEADER_FIELDS_TOO_LARGE: ErrorKind
pub const UNAVAILABLE_FOR_LEGAL_REASONS: ErrorKind
pub const INTERNAL_SERVER_ERROR: ErrorKind
pub const NOT_IMPLEMENTED: ErrorKind
pub const BAD_GATEWAY: ErrorKind
pub const SERVICE_UNAVAILABLE: ErrorKind
pub const GATEWAY_TIMEOUT: ErrorKind
pub const HTTP_VERSION_NOT_SUPPORTED: ErrorKind
pub const VARIANT_ALSO_NEGOTIATES: ErrorKind
pub const INSUFFICIENT_STORAGE: ErrorKind
pub const LOOP_DETECTED: ErrorKind
pub const NOT_EXTENDED: ErrorKind
pub const NETWORK_AUTHENTICATION_REQUIRED: ErrorKind
Source§impl HttpStatusCodeErrors
impl HttpStatusCodeErrors
pub fn from_status(status: StatusCode) -> ErrorKind
Auto Trait Implementations§
impl Freeze for HttpStatusCodeErrors
impl RefUnwindSafe for HttpStatusCodeErrors
impl Send for HttpStatusCodeErrors
impl Sync for HttpStatusCodeErrors
impl Unpin for HttpStatusCodeErrors
impl UnwindSafe for HttpStatusCodeErrors
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