pub enum WaitCondition {
Stable,
NetIdle,
RefAppears(Ref),
RefGone(Ref),
Text(String),
TokenChange,
}Expand description
A condition for Engine::wait.
Variants§
Stable
A11y tree stable for 250ms.
NetIdle
Network idle (<= 0 in-flight requests for 500ms).
RefAppears(Ref)
Ref(r) appears in the tree.
RefGone(Ref)
Ref(r) disappears from the tree.
Text(String)
Substring matches anywhere in the tree.
TokenChange
state_token changes.
Trait Implementations§
Source§impl Clone for WaitCondition
impl Clone for WaitCondition
Source§fn clone(&self) -> WaitCondition
fn clone(&self) -> WaitCondition
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§
impl Freeze for WaitCondition
impl RefUnwindSafe for WaitCondition
impl Send for WaitCondition
impl Sync for WaitCondition
impl Unpin for WaitCondition
impl UnsafeUnpin for WaitCondition
impl UnwindSafe for WaitCondition
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