pub enum WaitUntil {
Load,
DomContentLoaded,
NetworkIdle,
Commit,
}Expand description
When to consider navigation succeeded
Variants§
Load
Consider operation to be finished when the load event is fired
DomContentLoaded
Consider operation to be finished when the DOMContentLoaded event is fired
NetworkIdle
Consider operation to be finished when there are no network connections for at least 500ms
Commit
Consider operation to be finished when the commit event is fired
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