pub struct Clock { /* private fields */ }Expand description
Injectable clock to create timers.
Implementations§
Trait Implementations§
Source§impl FromContext<ConfigureContext> for Clock
impl FromContext<ConfigureContext> for Clock
type Error = AlreadyExtracted<Clock>
fn from_context(context: &ConfigureContext) -> Result<Self, Self::Error>
Auto Trait Implementations§
impl Freeze for Clock
impl !RefUnwindSafe for Clock
impl !Send for Clock
impl !Sync for Clock
impl Unpin for Clock
impl !UnwindSafe for Clock
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