Enum chrome_remote_interface_model::network::CorsError[][src]

pub enum CorsError {
    DisallowedByMode,
    InvalidResponse,
    WildcardOriginNotAllowed,
    MissingAllowOriginHeader,
    MultipleAllowOriginValues,
    InvalidAllowOriginValue,
    AllowOriginMismatch,
    InvalidAllowCredentials,
    CorsDisabledScheme,
    PreflightInvalidStatus,
    PreflightDisallowedRedirect,
    PreflightWildcardOriginNotAllowed,
    PreflightMissingAllowOriginHeader,
    PreflightMultipleAllowOriginValues,
    PreflightInvalidAllowOriginValue,
    PreflightAllowOriginMismatch,
    PreflightInvalidAllowCredentials,
    PreflightMissingAllowExternal,
    PreflightInvalidAllowExternal,
    InvalidAllowMethodsPreflightResponse,
    InvalidAllowHeadersPreflightResponse,
    MethodDisallowedByPreflightResponse,
    HeaderDisallowedByPreflightResponse,
    RedirectContainsCredentials,
    InsecurePrivateNetwork,
}

Variants

DisallowedByMode

DisallowedByMode

InvalidResponse

InvalidResponse

WildcardOriginNotAllowed

WildcardOriginNotAllowed

MissingAllowOriginHeader

MissingAllowOriginHeader

MultipleAllowOriginValues

MultipleAllowOriginValues

InvalidAllowOriginValue

InvalidAllowOriginValue

AllowOriginMismatch

AllowOriginMismatch

InvalidAllowCredentials

InvalidAllowCredentials

CorsDisabledScheme

CorsDisabledScheme

PreflightInvalidStatus

PreflightInvalidStatus

PreflightDisallowedRedirect

PreflightDisallowedRedirect

PreflightWildcardOriginNotAllowed

PreflightWildcardOriginNotAllowed

PreflightMissingAllowOriginHeader

PreflightMissingAllowOriginHeader

PreflightMultipleAllowOriginValues

PreflightMultipleAllowOriginValues

PreflightInvalidAllowOriginValue

PreflightInvalidAllowOriginValue

PreflightAllowOriginMismatch

PreflightAllowOriginMismatch

PreflightInvalidAllowCredentials

PreflightInvalidAllowCredentials

PreflightMissingAllowExternal

PreflightMissingAllowExternal

PreflightInvalidAllowExternal

PreflightInvalidAllowExternal

InvalidAllowMethodsPreflightResponse

InvalidAllowMethodsPreflightResponse

InvalidAllowHeadersPreflightResponse

InvalidAllowHeadersPreflightResponse

MethodDisallowedByPreflightResponse

MethodDisallowedByPreflightResponse

HeaderDisallowedByPreflightResponse

HeaderDisallowedByPreflightResponse

RedirectContainsCredentials

RedirectContainsCredentials

InsecurePrivateNetwork

InsecurePrivateNetwork

Trait Implementations

impl Clone for CorsError[src]

impl Debug for CorsError[src]

impl<'de> Deserialize<'de> for CorsError[src]

impl Serialize for CorsError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.