pub enum LoadErrorKind {
Offline,
HostNotFound,
Timeout,
Connection,
Certificate,
Secure,
Unsupported,
Other,
}Expand description
Why a page did not load, in the terms an error page explains.
Variants§
Offline
The device has no connection.
HostNotFound
No server has that name.
Timeout
The server did not answer in time.
Connection
The server refused or dropped the connection.
Certificate
The server’s certificate is not trusted, expired, or made out to another name. The page
loads after trust_host and a reload.
Secure
The connection could not be made secure for a reason other than the certificate.
Unsupported
The address names a scheme the engine cannot load.
Other
Anything else; LoadError::description has the engine’s words.
Trait Implementations§
Source§impl Clone for LoadErrorKind
impl Clone for LoadErrorKind
impl Copy for LoadErrorKind
Source§impl Debug for LoadErrorKind
impl Debug for LoadErrorKind
Source§impl<'de> Deserialize<'de> for LoadErrorKind
impl<'de> Deserialize<'de> for LoadErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoadErrorKind
Source§impl PartialEq for LoadErrorKind
impl PartialEq for LoadErrorKind
Source§impl Serialize for LoadErrorKind
impl Serialize for LoadErrorKind
impl StructuralPartialEq for LoadErrorKind
Auto Trait Implementations§
impl Forget for LoadErrorKind
impl Freeze for LoadErrorKind
impl Move for LoadErrorKind
impl RefUnwindSafe for LoadErrorKind
impl Send for LoadErrorKind
impl Sync for LoadErrorKind
impl Unpin for LoadErrorKind
impl UnsafeUnpin for LoadErrorKind
impl UnwindSafe for LoadErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more