Struct windows::Web::WebErrorStatus

#[repr(transparent)]
pub struct WebErrorStatus(pub i32);

Tuple Fields§

§0: i32

Implementations§

§

impl WebErrorStatus

pub const Unknown: Self = _

pub const CertificateCommonNameIsIncorrect: Self = _

pub const CertificateExpired: Self = _

pub const CertificateContainsErrors: Self = _

pub const CertificateRevoked: Self = _

pub const CertificateIsInvalid: Self = _

pub const ServerUnreachable: Self = _

pub const Timeout: Self = _

pub const ErrorHttpInvalidServerResponse: Self = _

pub const ConnectionAborted: Self = _

pub const ConnectionReset: Self = _

pub const Disconnected: Self = _

pub const HttpToHttpsOnRedirection: Self = _

pub const HttpsToHttpOnRedirection: Self = _

pub const CannotConnect: Self = _

pub const HostNameNotResolved: Self = _

pub const OperationCanceled: Self = _

pub const RedirectFailed: Self = _

pub const UnexpectedStatusCode: Self = _

pub const UnexpectedRedirection: Self = _

pub const UnexpectedClientError: Self = _

pub const UnexpectedServerError: Self = _

pub const InsufficientRangeSupport: Self = _

pub const MissingContentLengthSupport: Self = _

pub const MultipleChoices: Self = _

pub const MovedPermanently: Self = _

pub const Found: Self = _

pub const SeeOther: Self = _

pub const NotModified: Self = _

pub const UseProxy: Self = _

pub const TemporaryRedirect: Self = _

pub const BadRequest: Self = _

pub const Unauthorized: Self = _

pub const PaymentRequired: Self = _

pub const Forbidden: Self = _

pub const NotFound: Self = _

pub const MethodNotAllowed: Self = _

pub const NotAcceptable: Self = _

pub const ProxyAuthenticationRequired: Self = _

pub const RequestTimeout: Self = _

pub const Conflict: Self = _

pub const Gone: Self = _

pub const LengthRequired: Self = _

pub const PreconditionFailed: Self = _

pub const RequestEntityTooLarge: Self = _

pub const RequestUriTooLong: Self = _

pub const UnsupportedMediaType: Self = _

pub const RequestedRangeNotSatisfiable: Self = _

pub const ExpectationFailed: Self = _

pub const InternalServerError: Self = _

pub const NotImplemented: Self = _

pub const BadGateway: Self = _

pub const ServiceUnavailable: Self = _

pub const GatewayTimeout: Self = _

pub const HttpVersionNotSupported: Self = _

Trait Implementations§

§

impl Clone for WebErrorStatus

§

fn clone(&self) -> WebErrorStatus

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
§

impl Debug for WebErrorStatus

§

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

Formats the value using the given formatter. Read more
§

impl Default for WebErrorStatus

§

fn default() -> WebErrorStatus

Returns the “default value” for a type. Read more
§

impl PartialEq for WebErrorStatus

§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

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

impl Copy for WebErrorStatus

§

impl Eq for WebErrorStatus

§

impl StructuralPartialEq for WebErrorStatus

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> 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,

§

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>,

§

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>,

§

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.