#[repr(u32)]pub enum WebErrorStatus {
Show 17 variants
Unknown = 0,
CertificateCommonNameIsIncorrect = 1,
CertificateExpired = 2,
ClientCertificateContainsErrors = 3,
CertificateRevoked = 4,
CertificateIsInvalid = 5,
ServerUnreachable = 6,
Timeout = 7,
ErrorHttpInvalidServerResponse = 8,
ConnectionAborted = 9,
ConnectionReset = 10,
Disconnected = 11,
CannotConnect = 12,
HostNameNotResolved = 13,
OperationCanceled = 14,
RedirectFailed = 15,
UnexpectedError = 16,
}
Expand description
Indicates the error status values for web navigations.
Variants§
Unknown = 0
Indicates that an unknown error occurred.
CertificateCommonNameIsIncorrect = 1
Indicates that the SSL certificate common name does not match the web address.
CertificateExpired = 2
Indicates that the SSL certificate has expired.
ClientCertificateContainsErrors = 3
Indicates that the SSL client certificate contains errors.
CertificateRevoked = 4
Indicates that the SSL certificate has been revoked.
CertificateIsInvalid = 5
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 = 6
Indicates that the host is unreachable.
Timeout = 7
Indicates that the connection has timed out.
ErrorHttpInvalidServerResponse = 8
Indicates that the server returned an invalid or unrecognized response.
ConnectionAborted = 9
Indicates that the connection was stopped.
ConnectionReset = 10
Indicates that the connection was reset.
Disconnected = 11
Indicates that the Internet connection has been lost.
CannotConnect = 12
Indicates that a connection to the destination was not established.
HostNameNotResolved = 13
Indicates that the provided host name was not able to be resolved.
OperationCanceled = 14
Indicates that the operation was canceled.
RedirectFailed = 15
Indicates that the request redirect failed.
UnexpectedError = 16
Indicates that an unexpected error occurred.
Trait Implementations§
Source§impl Clone for WebErrorStatus
impl Clone for WebErrorStatus
Source§fn clone(&self) -> WebErrorStatus
fn clone(&self) -> WebErrorStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more