pub trait CdrEncodingSize {
// Required method
fn cdr_encoding_max_size() -> CdrEncodingMaxSize;
}
Expand description
Helper trait to compute the CDR-serialized size of data Trait used to statically gauge the size of serialized instance keys.
This is necessary to transmit instance keys. (RTPS spec v2.5, Section “9.6.4.8 KeyHash”, Step 5.2)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.