Trait netlink_packet_route::rtnl::nlas::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§

source§

impl Nla for netlink_packet_route::rtnl::address::nlas::Nla

source§

impl Nla for AfSpecBridge

source§

impl Nla for AfSpecInet

source§

impl Nla for Inet6

source§

impl Nla for Inet

source§

impl Nla for Info

source§

impl Nla for InfoBridge

source§

impl Nla for InfoData

source§

impl Nla for InfoIpVlan

source§

impl Nla for InfoIpoib

source§

impl Nla for InfoKind

source§

impl Nla for InfoMacVlan

source§

impl Nla for InfoMacVtap

source§

impl Nla for InfoVlan

source§

impl Nla for InfoVrf

source§

impl Nla for InfoVxlan

source§

impl Nla for netlink_packet_route::rtnl::link::nlas::Nla

source§

impl Nla for Prop

source§

impl Nla for VethInfo

source§

impl Nla for netlink_packet_route::rtnl::neighbour::nlas::Nla

source§

impl Nla for netlink_packet_route::rtnl::neighbour_table::nlas::Nla

source§

impl Nla for netlink_packet_route::rtnl::nsid::nlas::Nla

source§

impl Nla for Metrics

source§

impl Nla for MplsIpTunnel

source§

impl Nla for netlink_packet_route::rtnl::route::nlas::Nla

source§

impl Nla for netlink_packet_route::rtnl::rule::nlas::Nla

source§

impl Nla for ActNla

source§

impl Nla for ActOpt

source§

impl Nla for netlink_packet_route::rtnl::tc::nlas::Nla

source§

impl Nla for Stats2

source§

impl Nla for TcOpt

source§

impl Nla for netlink_packet_route::rtnl::tc::nlas::mirred::Nla

source§

impl Nla for netlink_packet_route::rtnl::tc::nlas::u32::Nla

source§

impl Nla for Action

source§

impl Nla for DefaultNla