pub enum NavigationError {
Timeout {
id: NavigationId,
err: DeadlineExceeded,
},
FrameNotFound {
id: NavigationId,
frame: FrameId,
},
TooManyNavigations {
id: NavigationId,
count: u32,
},
}Variants§
Timeout
FrameNotFound
The main frame performed more cross-document navigations during a
single goto than the configured max_main_frame_navigations cap.
Typically triggered by meta-refresh / location.href loops, which
are invisible to the HTTP-layer max_redirects guard.
Implementations§
Trait Implementations§
Source§fn from(err: NavigationError) -> Self
fn from(err: NavigationError) -> Self
Converts to this type from the input type.
Auto 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