pub struct ObjectNamespace(/* private fields */);Expand description
Device-instance namespace encoded into every object ID.
A transport integration assigns a distinct nonzero namespace to each device reset epoch and does not reuse it while an ID from that epoch could still be presented. IDs from different devices or reset epochs can therefore never resolve even when their slot, kind, and generation are otherwise identical.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectNamespace
impl Clone for ObjectNamespace
Source§fn clone(&self) -> ObjectNamespace
fn clone(&self) -> ObjectNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectNamespace
Source§impl Debug for ObjectNamespace
impl Debug for ObjectNamespace
impl Eq for ObjectNamespace
Source§impl Hash for ObjectNamespace
impl Hash for ObjectNamespace
Source§impl PartialEq for ObjectNamespace
impl PartialEq for ObjectNamespace
impl StructuralPartialEq for ObjectNamespace
Auto Trait Implementations§
impl Freeze for ObjectNamespace
impl RefUnwindSafe for ObjectNamespace
impl Send for ObjectNamespace
impl Sync for ObjectNamespace
impl Unpin for ObjectNamespace
impl UnsafeUnpin for ObjectNamespace
impl UnwindSafe for ObjectNamespace
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