pub struct Taken<K> {
pub id: K,
pub by: OwnerId,
}Expand description
A registration refused because the id is taken.
Fields§
§id: K§by: OwnerIdWho holds it.
Trait Implementations§
impl<K: Eq> Eq for Taken<K>
impl<K> StructuralPartialEq for Taken<K>
Auto Trait Implementations§
impl<K> Freeze for Taken<K>where
K: Freeze,
impl<K> RefUnwindSafe for Taken<K>where
K: RefUnwindSafe,
impl<K> Send for Taken<K>where
K: Send,
impl<K> Sync for Taken<K>where
K: Sync,
impl<K> Unpin for Taken<K>where
K: Unpin,
impl<K> UnsafeUnpin for Taken<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for Taken<K>where
K: UnwindSafe,
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