PropertiesToBuffers

Trait PropertiesToBuffers 

Source
pub trait PropertiesToBuffers {
    // Required method
    fn to_buffers(&self) -> Vec<IoSlice<'_>>;
}
Expand description

Trait for converting properties collection to I/O buffers

This trait provides functionality to convert a collection of properties into IoSlice buffers suitable for efficient network I/O operations.

Required Methods§

Source

fn to_buffers(&self) -> Vec<IoSlice<'_>>

Convert properties to IoSlice buffers for vectored I/O

Returns a vector of IoSlice objects that can be used with vectored write operations for zero-copy network transmission.

Implementors§

Source§

impl PropertiesToBuffers for Properties

Implementation of PropertiesToBuffers for Properties

Concatenates IoSlice buffers from all properties in the collection.