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: ?Sized> RefUnwindSafe for KeyedRef<TKey, TSvc>where
TKey: RefUnwindSafe,
TSvc: RefUnwindSafe,
impl<TKey, TSvc> !Send for KeyedRef<TKey, TSvc>
impl<TKey, TSvc> !Sync for KeyedRef<TKey, TSvc>
impl<TKey, TSvc: ?Sized> Unpin for KeyedRef<TKey, TSvc>where
TKey: Unpin,
impl<TKey, TSvc: ?Sized> UnwindSafe for KeyedRef<TKey, TSvc>where
TKey: UnwindSafe,
TSvc: RefUnwindSafe,
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