pub struct LoopSchedule {
pub auto_update_tick: Duration,
}Expand description
Schedule for the auto-updater loop. The WS session has its own
SessionSchedule (see ws::session).
Fields§
§auto_update_tick: DurationImplementations§
Source§impl LoopSchedule
impl LoopSchedule
Sourcepub fn fast_for_tests() -> Self
pub fn fast_for_tests() -> Self
Schedule with 1 ms intervals — used by tests to exercise the loop wrappers without blocking.
Trait Implementations§
Source§impl Clone for LoopSchedule
impl Clone for LoopSchedule
Source§fn clone(&self) -> LoopSchedule
fn clone(&self) -> LoopSchedule
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 LoopSchedule
impl Debug for LoopSchedule
Source§impl Default for LoopSchedule
impl Default for LoopSchedule
impl Copy for LoopSchedule
Auto Trait Implementations§
impl Freeze for LoopSchedule
impl RefUnwindSafe for LoopSchedule
impl Send for LoopSchedule
impl Sync for LoopSchedule
impl Unpin for LoopSchedule
impl UnsafeUnpin for LoopSchedule
impl UnwindSafe for LoopSchedule
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