Skip to main content

EHTTPStatusCode

Enum EHTTPStatusCode 

Source
#[non_exhaustive]
#[repr(u32)]
pub enum EHTTPStatusCode {
Show 60 variants k_EHTTPStatusCodeInvalid = 0, k_EHTTPStatusCode100Continue = 100, k_EHTTPStatusCode101SwitchingProtocols = 101, k_EHTTPStatusCode200OK = 200, k_EHTTPStatusCode201Created = 201, k_EHTTPStatusCode202Accepted = 202, k_EHTTPStatusCode203NonAuthoritative = 203, k_EHTTPStatusCode204NoContent = 204, k_EHTTPStatusCode205ResetContent = 205, k_EHTTPStatusCode206PartialContent = 206, k_EHTTPStatusCode300MultipleChoices = 300, k_EHTTPStatusCode301MovedPermanently = 301, k_EHTTPStatusCode302Found = 302, k_EHTTPStatusCode303SeeOther = 303, k_EHTTPStatusCode304NotModified = 304, k_EHTTPStatusCode305UseProxy = 305, k_EHTTPStatusCode307TemporaryRedirect = 307, k_EHTTPStatusCode308PermanentRedirect = 308, k_EHTTPStatusCode400BadRequest = 400, k_EHTTPStatusCode401Unauthorized = 401, k_EHTTPStatusCode402PaymentRequired = 402, k_EHTTPStatusCode403Forbidden = 403, k_EHTTPStatusCode404NotFound = 404, k_EHTTPStatusCode405MethodNotAllowed = 405, k_EHTTPStatusCode406NotAcceptable = 406, k_EHTTPStatusCode407ProxyAuthRequired = 407, k_EHTTPStatusCode408RequestTimeout = 408, k_EHTTPStatusCode409Conflict = 409, k_EHTTPStatusCode410Gone = 410, k_EHTTPStatusCode411LengthRequired = 411, k_EHTTPStatusCode412PreconditionFailed = 412, k_EHTTPStatusCode413RequestEntityTooLarge = 413, k_EHTTPStatusCode414RequestURITooLong = 414, k_EHTTPStatusCode415UnsupportedMediaType = 415, k_EHTTPStatusCode416RequestedRangeNotSatisfiable = 416, k_EHTTPStatusCode417ExpectationFailed = 417, k_EHTTPStatusCode4xxUnknown = 418, k_EHTTPStatusCode421MisdirectedRequest = 421, k_EHTTPStatusCode422UnprocessableContent = 422, k_EHTTPStatusCode423Locked = 423, k_EHTTPStatusCode424FailedDependency = 424, k_EHTTPStatusCode425TooEarly = 425, k_EHTTPStatusCode426UpgradeRequired = 426, k_EHTTPStatusCode428PreconditionRequired = 428, k_EHTTPStatusCode429TooManyRequests = 429, k_EHTTPStatusCode431RequestHeaderFieldsTooLarge = 431, k_EHTTPStatusCode444ConnectionClosed = 444, k_EHTTPStatusCode451UnavailableForLegalReasons = 451, k_EHTTPStatusCode500InternalServerError = 500, k_EHTTPStatusCode501NotImplemented = 501, k_EHTTPStatusCode502BadGateway = 502, k_EHTTPStatusCode503ServiceUnavailable = 503, k_EHTTPStatusCode504GatewayTimeout = 504, k_EHTTPStatusCode505HTTPVersionNotSupported = 505, k_EHTTPStatusCode506VariantAlsoNegotiates = 506, k_EHTTPStatusCode507InsufficientStorage = 507, k_EHTTPStatusCode508LoopDetected = 508, k_EHTTPStatusCode510NotExtended = 510, k_EHTTPStatusCode511NetworkAuthenticationRequired = 511, k_EHTTPStatusCode5xxUnknown = 599,
}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

k_EHTTPStatusCodeInvalid = 0

§

k_EHTTPStatusCode100Continue = 100

§

k_EHTTPStatusCode101SwitchingProtocols = 101

§

k_EHTTPStatusCode200OK = 200

§

k_EHTTPStatusCode201Created = 201

§

k_EHTTPStatusCode202Accepted = 202

§

k_EHTTPStatusCode203NonAuthoritative = 203

§

k_EHTTPStatusCode204NoContent = 204

§

k_EHTTPStatusCode205ResetContent = 205

§

k_EHTTPStatusCode206PartialContent = 206

§

k_EHTTPStatusCode300MultipleChoices = 300

§

k_EHTTPStatusCode301MovedPermanently = 301

§

k_EHTTPStatusCode302Found = 302

§

k_EHTTPStatusCode303SeeOther = 303

§

k_EHTTPStatusCode304NotModified = 304

§

k_EHTTPStatusCode305UseProxy = 305

§

k_EHTTPStatusCode307TemporaryRedirect = 307

§

k_EHTTPStatusCode308PermanentRedirect = 308

§

k_EHTTPStatusCode400BadRequest = 400

§

k_EHTTPStatusCode401Unauthorized = 401

§

k_EHTTPStatusCode402PaymentRequired = 402

§

k_EHTTPStatusCode403Forbidden = 403

§

k_EHTTPStatusCode404NotFound = 404

§

k_EHTTPStatusCode405MethodNotAllowed = 405

§

k_EHTTPStatusCode406NotAcceptable = 406

§

k_EHTTPStatusCode407ProxyAuthRequired = 407

§

k_EHTTPStatusCode408RequestTimeout = 408

§

k_EHTTPStatusCode409Conflict = 409

§

k_EHTTPStatusCode410Gone = 410

§

k_EHTTPStatusCode411LengthRequired = 411

§

k_EHTTPStatusCode412PreconditionFailed = 412

§

k_EHTTPStatusCode413RequestEntityTooLarge = 413

§

k_EHTTPStatusCode414RequestURITooLong = 414

§

k_EHTTPStatusCode415UnsupportedMediaType = 415

§

k_EHTTPStatusCode416RequestedRangeNotSatisfiable = 416

§

k_EHTTPStatusCode417ExpectationFailed = 417

§

k_EHTTPStatusCode4xxUnknown = 418

§

k_EHTTPStatusCode421MisdirectedRequest = 421

§

k_EHTTPStatusCode422UnprocessableContent = 422

§

k_EHTTPStatusCode423Locked = 423

§

k_EHTTPStatusCode424FailedDependency = 424

§

k_EHTTPStatusCode425TooEarly = 425

§

k_EHTTPStatusCode426UpgradeRequired = 426

§

k_EHTTPStatusCode428PreconditionRequired = 428

§

k_EHTTPStatusCode429TooManyRequests = 429

§

k_EHTTPStatusCode431RequestHeaderFieldsTooLarge = 431

§

k_EHTTPStatusCode444ConnectionClosed = 444

§

k_EHTTPStatusCode451UnavailableForLegalReasons = 451

§

k_EHTTPStatusCode500InternalServerError = 500

§

k_EHTTPStatusCode501NotImplemented = 501

§

k_EHTTPStatusCode502BadGateway = 502

§

k_EHTTPStatusCode503ServiceUnavailable = 503

§

k_EHTTPStatusCode504GatewayTimeout = 504

§

k_EHTTPStatusCode505HTTPVersionNotSupported = 505

§

k_EHTTPStatusCode506VariantAlsoNegotiates = 506

§

k_EHTTPStatusCode507InsufficientStorage = 507

§

k_EHTTPStatusCode508LoopDetected = 508

§

k_EHTTPStatusCode510NotExtended = 510

§

k_EHTTPStatusCode511NetworkAuthenticationRequired = 511

§

k_EHTTPStatusCode5xxUnknown = 599

Trait Implementations§

Source§

impl Clone for EHTTPStatusCode

Source§

fn clone(&self) -> EHTTPStatusCode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for EHTTPStatusCode

Source§

impl Debug for EHTTPStatusCode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for EHTTPStatusCode

Source§

impl Hash for EHTTPStatusCode

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for EHTTPStatusCode

Source§

fn eq(&self, other: &EHTTPStatusCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for EHTTPStatusCode

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.