pub struct LoadError {
pub url: Option<String>,
pub kind: LoadErrorKind,
pub description: String,
}Expand description
Error reported when a main-frame page load fails (DNS, network, TLS, etc.).
The webview crate is responsible only for delivering this event. What to display is entirely up to the caller.
Fields§
§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§
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