pub enum NavigationCancellationReason {
Superseded,
Stopped,
WebViewDestroyed,
Other,
}Expand description
Why an active navigation attempt terminated without success or failure. Cancellation is control flow, not a load error: it must never surface error UI or count as a failed visit.
Variants§
Superseded
A newer navigation replaced this attempt.
Stopped
The caller explicitly stopped loading.
WebViewDestroyed
The WebView was destroyed while the attempt was active.
Other
The backend reported cancellation but cannot distinguish the cause.
Trait Implementations§
Source§fn clone(&self) -> NavigationCancellationReason
fn clone(&self) -> NavigationCancellationReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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