pub struct ServiceKey(/* private fields */);Expand description
An arbitrary value key, compared by type and value. None represents an unkeyed service.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceKey
impl Clone for ServiceKey
Source§impl Debug for ServiceKey
impl Debug for ServiceKey
impl Eq for ServiceKey
Source§impl From<&str> for ServiceKey
impl From<&str> for ServiceKey
Source§impl From<String> for ServiceKey
impl From<String> for ServiceKey
Source§impl Hash for ServiceKey
impl Hash for ServiceKey
Auto Trait Implementations§
impl !RefUnwindSafe for ServiceKey
impl !Send for ServiceKey
impl !Sync for ServiceKey
impl !UnwindSafe for ServiceKey
impl Freeze for ServiceKey
impl Unpin for ServiceKey
impl UnsafeUnpin for ServiceKey
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