pub struct TestClockPoller { /* private fields */ }Expand description
Runtime poller for the test clock — manually controlled.
Use advance() to move time forward, then sync() to write into
the Clock resource.
Implementations§
Source§impl TestClockPoller
impl TestClockPoller
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestClockPoller
impl RefUnwindSafe for TestClockPoller
impl Send for TestClockPoller
impl !Sync for TestClockPoller
impl Unpin for TestClockPoller
impl UnsafeUnpin for TestClockPoller
impl UnwindSafe for TestClockPoller
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