pub struct SettleConfig {
pub timeout: Duration,
pub idle_window: Duration,
pub poll_interval: Duration,
}Expand description
Tuning for settle.
Fields§
§timeout: DurationHard upper bound on the total wait. On reaching it, settle returns
SettleOutcome::TimedOut regardless of quiescence.
idle_window: DurationHow long the page must remain continuously quiescent (DOM-ready and its content signature unchanged) before it is considered settled.
poll_interval: DurationDelay between successive probes.
Trait Implementations§
Source§impl Clone for SettleConfig
impl Clone for SettleConfig
Source§fn clone(&self) -> SettleConfig
fn clone(&self) -> SettleConfig
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 moreSource§impl Debug for SettleConfig
impl Debug for SettleConfig
Auto Trait Implementations§
impl Freeze for SettleConfig
impl RefUnwindSafe for SettleConfig
impl Send for SettleConfig
impl Sync for SettleConfig
impl Unpin for SettleConfig
impl UnsafeUnpin for SettleConfig
impl UnwindSafe for SettleConfig
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