pub struct UuidKey;Trait Implementations§
Source§impl DependencyKey for UuidKey
impl DependencyKey for UuidKey
type Value = UuidDep
fn live() -> <UuidKey as DependencyKey>::Value
Source§fn try_test() -> Result<<UuidKey as DependencyKey>::Value, DependencyError>
fn try_test() -> Result<<UuidKey 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 UuidKey
impl RefUnwindSafe for UuidKey
impl Send for UuidKey
impl Sync for UuidKey
impl Unpin for UuidKey
impl UnsafeUnpin for UuidKey
impl UnwindSafe for UuidKey
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