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 { ... }
}
Expand description
Key trait for Keyed Topics
It is a combination of traits from the standard library
and Serde traits
- Serialize and
- DeserializeOwned .
Provided methods
fn may_exceed_128_bits() -> bool
fn may_exceed_128_bits() -> bool
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.