#[repr(u32)]pub enum HTTPClientResponseCode {
Show 61 variants
ResponseContinue = 100,
ResponseSwitchingProtocols = 101,
ResponseProcessing = 102,
ResponseOk = 200,
ResponseCreated = 201,
ResponseAccepted = 202,
ResponseNonAuthoritativeInformation = 203,
ResponseNoContent = 204,
ResponseResetContent = 205,
ResponsePartialContent = 206,
ResponseMultiStatus = 207,
ResponseAlreadyReported = 208,
ResponseImUsed = 226,
ResponseMultipleChoices = 300,
ResponseMovedPermanently = 301,
ResponseFound = 302,
ResponseSeeOther = 303,
ResponseNotModified = 304,
ResponseUseProxy = 305,
ResponseSwitchProxy = 306,
ResponseTemporaryRedirect = 307,
ResponsePermanentRedirect = 308,
ResponseBadRequest = 400,
ResponseUnauthorized = 401,
ResponsePaymentRequired = 402,
ResponseForbidden = 403,
ResponseNotFound = 404,
ResponseMethodNotAllowed = 405,
ResponseNotAcceptable = 406,
ResponseProxyAuthenticationRequired = 407,
ResponseRequestTimeout = 408,
ResponseConflict = 409,
ResponseGone = 410,
ResponseLengthRequired = 411,
ResponsePreconditionFailed = 412,
ResponseRequestEntityTooLarge = 413,
ResponseRequestUriTooLong = 414,
ResponseUnsupportedMediaType = 415,
ResponseRequestedRangeNotSatisfiable = 416,
ResponseExpectationFailed = 417,
ResponseImATeapot = 418,
ResponseMisdirectedRequest = 421,
ResponseUnprocessableEntity = 422,
ResponseLocked = 423,
ResponseFailedDependency = 424,
ResponseUpgradeRequired = 426,
ResponsePreconditionRequired = 428,
ResponseTooManyRequests = 429,
ResponseRequestHeaderFieldsTooLarge = 431,
ResponseUnavailableForLegalReasons = 451,
ResponseInternalServerError = 500,
ResponseNotImplemented = 501,
ResponseBadGateway = 502,
ResponseServiceUnavailable = 503,
ResponseGatewayTimeout = 504,
ResponseHttpVersionNotSupported = 505,
ResponseVariantAlsoNegotiates = 506,
ResponseInsufficientStorage = 507,
ResponseLoopDetected = 508,
ResponseNotExtended = 510,
ResponseNetworkAuthRequired = 511,
}
Variants§
ResponseContinue = 100
ResponseSwitchingProtocols = 101
ResponseProcessing = 102
ResponseOk = 200
ResponseCreated = 201
ResponseAccepted = 202
ResponseNonAuthoritativeInformation = 203
ResponseNoContent = 204
ResponseResetContent = 205
ResponsePartialContent = 206
ResponseMultiStatus = 207
ResponseAlreadyReported = 208
ResponseImUsed = 226
ResponseMultipleChoices = 300
ResponseMovedPermanently = 301
ResponseFound = 302
ResponseSeeOther = 303
ResponseNotModified = 304
ResponseUseProxy = 305
ResponseSwitchProxy = 306
ResponseTemporaryRedirect = 307
ResponsePermanentRedirect = 308
ResponseBadRequest = 400
ResponsePaymentRequired = 402
ResponseForbidden = 403
ResponseNotFound = 404
ResponseMethodNotAllowed = 405
ResponseNotAcceptable = 406
ResponseProxyAuthenticationRequired = 407
ResponseRequestTimeout = 408
ResponseConflict = 409
ResponseGone = 410
ResponseLengthRequired = 411
ResponsePreconditionFailed = 412
ResponseRequestEntityTooLarge = 413
ResponseRequestUriTooLong = 414
ResponseUnsupportedMediaType = 415
ResponseRequestedRangeNotSatisfiable = 416
ResponseExpectationFailed = 417
ResponseImATeapot = 418
ResponseMisdirectedRequest = 421
ResponseUnprocessableEntity = 422
ResponseLocked = 423
ResponseFailedDependency = 424
ResponseUpgradeRequired = 426
ResponsePreconditionRequired = 428
ResponseTooManyRequests = 429
ResponseRequestHeaderFieldsTooLarge = 431
ResponseInternalServerError = 500
ResponseNotImplemented = 501
ResponseBadGateway = 502
ResponseGatewayTimeout = 504
ResponseHttpVersionNotSupported = 505
ResponseVariantAlsoNegotiates = 506
ResponseInsufficientStorage = 507
ResponseLoopDetected = 508
ResponseNotExtended = 510
ResponseNetworkAuthRequired = 511
Trait Implementations§
Source§impl Clone for HTTPClientResponseCode
impl Clone for HTTPClientResponseCode
Source§fn clone(&self) -> HTTPClientResponseCode
fn clone(&self) -> HTTPClientResponseCode
Returns a copy 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 HTTPClientResponseCode
impl Debug for HTTPClientResponseCode
Source§impl Hash for HTTPClientResponseCode
impl Hash for HTTPClientResponseCode
Source§impl PartialEq for HTTPClientResponseCode
impl PartialEq for HTTPClientResponseCode
impl Copy for HTTPClientResponseCode
impl Eq for HTTPClientResponseCode
impl StructuralPartialEq for HTTPClientResponseCode
Auto Trait Implementations§
impl Freeze for HTTPClientResponseCode
impl RefUnwindSafe for HTTPClientResponseCode
impl Send for HTTPClientResponseCode
impl Sync for HTTPClientResponseCode
impl Unpin for HTTPClientResponseCode
impl UnwindSafe for HTTPClientResponseCode
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