pub trait AttributeExt {
// Required method
fn padded_len(&self) -> usize;
}Expand description
Automatically implemented trait providing some helper functions.
Required Methods§
Sourcefn padded_len(&self) -> usize
fn padded_len(&self) -> usize
The length in bytes of an attribute as stored in a Message
including any padding and the attribute header.