pub struct LoadError {
pub failing_url: Option<String>,
pub kind: LoadErrorKind,
pub description: String,
}Expand description
Error reported when a main-frame page load fails (DNS, network, TLS, etc.).
kind is the stable value for program logic; description is platform
diagnostic text for logs and must not be parsed or shown directly as
localized product copy.
Fields§
§failing_url: Option<String>URL that failed to load, if the platform exposes it.
kind: LoadErrorKindCross-platform error category for application logic and UI.
description: StringHuman-readable description from the platform.
Trait Implementations§
impl Eq for LoadError
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnsafeUnpin for LoadError
impl UnwindSafe for LoadError
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