pub struct KeyedService;Expand description
MEDI-inspired namespace for the AnyKey sentinel.
KeyedService::any_key() equals ServiceKey::any_key().
Implementations§
Source§impl KeyedService
impl KeyedService
Sourcepub fn any_key() -> ServiceKey
pub fn any_key() -> ServiceKey
The AnyKey fallback sentinel (MEDI KeyedService.AnyKey).
Trait Implementations§
Source§impl Clone for KeyedService
impl Clone for KeyedService
impl Copy for KeyedService
Source§impl Debug for KeyedService
impl Debug for KeyedService
Auto Trait Implementations§
impl Forget for KeyedService
impl Freeze for KeyedService
impl Move for KeyedService
impl RefUnwindSafe for KeyedService
impl Send for KeyedService
impl Sync for KeyedService
impl Unpin for KeyedService
impl UnsafeUnpin for KeyedService
impl UnwindSafe for KeyedService
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