Trait netlink_sys::Emitable [−][src]
A type that implements Emitable can be serialized.
Required Methods
fn buffer_len(&self) -> usize
Return the length of the serialized data.
fn emit(&self, buffer: &mut [u8])
Serialize this types and write the serialized data into the given buffer.
Panic
This method panic if the buffer is not big enough. You must make sure the buffer is big
enough before calling this method. You can use
buffer_len() to check how big the storage needs
to be.
Implementations on Foreign Types
impl<'a, T: Nla> Emitable for &'a [T][src]
impl<'a, T: Nla> Emitable for &'a [T]Implementors
impl Emitable for NetlinkHeaderimpl Emitable for AddressHeaderimpl Emitable for AddressMessageimpl Emitable for LinkHeaderimpl Emitable for LinkMessageimpl Emitable for RouteHeaderimpl Emitable for RouteMessageimpl Emitable for Messageimpl Emitable for ErrorMessageimpl<T: Nla> Emitable for T