pub trait SocketControlMessageExtManual: Sized {
    // Required method
    fn serialize(&self, data: &mut [u8]);
}

Required Methods§

source

fn serialize(&self, data: &mut [u8])

Converts the data in the message to bytes placed in the message.

data is guaranteed to have enough space to fit the size returned by SocketControlMessageExt::size() on this object.

Implementors§