Enum webview2_sys::WebErrorStatus[][src]

#[repr(u32)]
pub enum WebErrorStatus {
Show variants Unknown, CertificateCommonNameIsIncorrect, CertificateExpired, ClientCertificateContainsErrors, CertificateRevoked, CertificateIsInvalid, ServerUnreachable, Timeout, ErrorHttpInvalidServerResponse, ConnectionAborted, ConnectionReset, Disconnected, CannotConnect, HostNameNotResolved, OperationCanceled, RedirectFailed, UnexpectedError,
}

Indicates the error status values for web navigations.

Variants

Unknown

Indicates that an unknown error occurred.

CertificateCommonNameIsIncorrect

Indicates that the SSL certificate common name does not match the web address.

CertificateExpired

Indicates that the SSL certificate has expired.

ClientCertificateContainsErrors

Indicates that the SSL client certificate contains errors.

CertificateRevoked

Indicates that the SSL certificate has been revoked.

CertificateIsInvalid

Indicates that the SSL certificate is not valid. The certificate may not match the public key pins for the host name, the certificate is signed by an untrusted authority or using a weak sign algorithm, the certificate claimed DNS names violate name constraints, the certificate contains a weak key, the validity period of the certificate is too long, lack of revocation information or revocation mechanism, non-unique host name, lack of certificate transparency information, or the certificate is chained to a [legacy Symantec root][GoogleblogSecurity201803DistrustSymantecPkiImmediateHtml].

[GoogleblogSecurity201803DistrustSymantecPkiImmediateHtml]: https://security.googleblog.com/2018/03/distrust-of-symantec-pki-immediate.html “Distrust of the Symantec PKI: Immediate action needed by site operators | Google Security Blog”

ServerUnreachable

Indicates that the host is unreachable.

Timeout

Indicates that the connection has timed out.

ErrorHttpInvalidServerResponse

Indicates that the server returned an invalid or unrecognized response.

ConnectionAborted

Indicates that the connection was stopped.

ConnectionReset

Indicates that the connection was reset.

Disconnected

Indicates that the Internet connection has been lost.

CannotConnect

Indicates that a connection to the destination was not established.

HostNameNotResolved

Indicates that the provided host name was not able to be resolved.

OperationCanceled

Indicates that the operation was canceled.

RedirectFailed

Indicates that the request redirect failed.

UnexpectedError

Indicates that an unexpected error occurred.

Trait Implementations

impl Clone for WebErrorStatus[src]

impl Copy for WebErrorStatus[src]

impl Debug for WebErrorStatus[src]

impl Eq for WebErrorStatus[src]

impl PartialEq<WebErrorStatus> for WebErrorStatus[src]

impl StructuralEq for WebErrorStatus[src]

impl StructuralPartialEq for WebErrorStatus[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> 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.