pub struct ClockKey;Trait Implementations§
Source§impl DependencyKey for ClockKey
impl DependencyKey for ClockKey
type Value = ClockDep
fn live() -> <ClockKey as DependencyKey>::Value
Source§fn try_test() -> Result<<ClockKey as DependencyKey>::Value, DependencyError>
fn try_test() -> Result<<ClockKey as DependencyKey>::Value, DependencyError>
Fall back when no test double is registered for this key.
fn test() -> Self::Value
fn preview() -> Self::Value
fn register(values: &DependencyValues, value: Self::Value)
Auto Trait Implementations§
impl Freeze for ClockKey
impl RefUnwindSafe for ClockKey
impl Send for ClockKey
impl Sync for ClockKey
impl Unpin for ClockKey
impl UnsafeUnpin for ClockKey
impl UnwindSafe for ClockKey
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