Trait netlink_packet_utils::nla::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§