pub enum WaitUntil {
Load,
DomContentLoaded,
NetworkIdle,
Commit,
}Expand description
When to consider a navigation finished.
Variants§
Load
Consider navigation complete when the load event fires.
DomContentLoaded
DOMContentLoaded.
NetworkIdle
Heuristic: no in-flight network requests for ~500ms after load.
Commit
Resolved as soon as the navigation is committed.
Implementations§
Trait Implementations§
impl Copy for WaitUntil
impl Eq for WaitUntil
impl StructuralPartialEq for WaitUntil
Auto Trait Implementations§
impl Freeze for WaitUntil
impl RefUnwindSafe for WaitUntil
impl Send for WaitUntil
impl Sync for WaitUntil
impl Unpin for WaitUntil
impl UnsafeUnpin for WaitUntil
impl UnwindSafe for WaitUntil
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