pub struct KeyedRef<TKey, TSvc: Any + ?Sized> { /* private fields */ }
Expand description
Represents a holder for a keyed service.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<TKey, TSvc> Freeze for KeyedRef<TKey, TSvc>where
TSvc: ?Sized,
impl<TKey, TSvc> RefUnwindSafe for KeyedRef<TKey, TSvc>
impl<TKey, TSvc> !Send for KeyedRef<TKey, TSvc>
impl<TKey, TSvc> !Sync for KeyedRef<TKey, TSvc>
impl<TKey, TSvc> Unpin for KeyedRef<TKey, TSvc>
impl<TKey, TSvc> UnwindSafe for KeyedRef<TKey, TSvc>
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