pub struct Buffer(_);
Expand description
A buffer of bytes.
Implementations§
Trait Implementations§
source§impl<'lifetime> FromBytesWithInput<'lifetime> for Buffer
impl<'lifetime> FromBytesWithInput<'lifetime> for Buffer
source§impl PartialEq<Buffer> for Buffer
impl PartialEq<Buffer> for Buffer
source§impl Size for Buffer
impl Size for Buffer
source§fn unpadded_size(&self) -> usize
fn unpadded_size(&self) -> usize
Size of the unpadded data structure. This will usually
only be unaligned for variable length types like
strings or byte buffers.
source§fn padded_size(&self) -> usize
fn padded_size(&self) -> usize
Get the size of of the payload and align it to
the required netlink byte alignment.