pub trait PropertiesSize {
// Required method
fn size(&self) -> usize;
}
Expand description
Trait for calculating the total encoded size of properties collection
This trait provides functionality to calculate the total number of bytes required to encode a collection of properties in the MQTT wire format.
Required Methods§
Implementors§
impl PropertiesSize for Properties
Implementation of PropertiesSize for Properties
Calculates the total size by summing the encoded size of each property.