Trait rustdds::dds::traits::Key[][src]

pub trait Key: Eq + PartialEq + PartialOrd + Ord + Hash + Clone + Serialize + DeserializeOwned {
    fn may_exceed_128_bits() -> bool { ... }
fn into_hash_key(&self) -> KeyHash { ... } }

Key trait for Keyed Topics

It is a combination of traits from the standard library

and Serde traits

Provided methods

fn may_exceed_128_bits() -> bool[src]

This function tries to determine if the maximum size of the sequential CDR encapsulation of all the key fields is less than or equal to 128 bits. In case this function gets it wrong, it can be overridden.

fn into_hash_key(&self) -> KeyHash[src]

Loading content...

Implementations on Foreign Types

impl Key for (GuidPrefix, ParticipantMessageDataKind)[src]

impl Key for ()[src]

impl Key for bool[src]

impl Key for char[src]

impl Key for i8[src]

impl Key for i16[src]

impl Key for i32[src]

impl Key for i64[src]

impl Key for i128[src]

impl Key for isize[src]

impl Key for u8[src]

impl Key for u16[src]

impl Key for u32[src]

impl Key for u64[src]

impl Key for u128[src]

impl Key for usize[src]

impl Key for String[src]

Loading content...

Implementors

impl Key for Gid[src]

impl Key for GUID[src]

Loading content...