Enum webview2::WebErrorStatus[][src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.