netlink_packet_utils::nla

Trait Nla

Source
pub trait Nla {
    // Required methods
    fn value_len(&self) -> usize;
    fn kind(&self) -> u16;
    fn emit_value(&self, buffer: &mut [u8]);

    // Provided methods
    fn is_nested(&self) -> bool { ... }
    fn is_network_byteorder(&self) -> bool { ... }
}

Required Methods§

Source

fn value_len(&self) -> usize

Source

fn kind(&self) -> u16

Source

fn emit_value(&self, buffer: &mut [u8])

Provided Methods§

Implementors§