[−][src]Trait netlink_packet_audit::traits::Emitable
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> Emitable for &'a [T] where
T: Nla,
[src]
Loading content...
T: Nla,
Implementors
impl Emitable for AuditMessage
[src]
impl Emitable for RuleMessage
[src]
impl Emitable for StatusMessage
[src]
impl Emitable for ErrorMessage
[src]
impl Emitable for NetlinkHeader
[src]
impl<I> Emitable for NetlinkMessage<I> where
I: NetlinkSerializable<I> + Debug + PartialEq<I> + Eq + Clone,
[src]
I: NetlinkSerializable<I> + Debug + PartialEq<I> + Eq + Clone,
impl<T> Emitable for T where
T: Nla,
[src]
T: Nla,