pub struct InstanceHandle(pub [u8; 16]);Expand description
Identifies an instance: its key hash (DDSI-RTPS 2.5, 9.6.4.8). Every writer and reader of a topic gives an instance the same handle. A type without key has one instance.
Tuple Fields§
§0: [u8; 16]Implementations§
Source§impl InstanceHandle
impl InstanceHandle
Sourcepub const KEYLESS: InstanceHandle
pub const KEYLESS: InstanceHandle
The one instance of a type without key.
Trait Implementations§
Source§impl Clone for InstanceHandle
impl Clone for InstanceHandle
impl Copy for InstanceHandle
Source§impl Debug for InstanceHandle
impl Debug for InstanceHandle
impl Eq for InstanceHandle
Source§impl Hash for InstanceHandle
impl Hash for InstanceHandle
Source§impl Ord for InstanceHandle
impl Ord for InstanceHandle
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for InstanceHandle
impl PartialEq for InstanceHandle
Source§impl PartialOrd for InstanceHandle
impl PartialOrd for InstanceHandle
impl StructuralPartialEq for InstanceHandle
Auto Trait Implementations§
impl Forget for InstanceHandle
impl Freeze for InstanceHandle
impl Move for InstanceHandle
impl RefUnwindSafe for InstanceHandle
impl Send for InstanceHandle
impl Sync for InstanceHandle
impl Unpin for InstanceHandle
impl UnsafeUnpin for InstanceHandle
impl UnwindSafe for InstanceHandle
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