[][src]Struct nc::types::bpf_lpm_trie_key_t

#[repr(C)]
pub struct bpf_lpm_trie_key_t {
    pub prefixlen: u32,
    pub data: [u8; 0],
}

Key of an a BPF_MAP_TYPE_LPM_TRIE entry

Fields

prefixlen: u32

up to 32 for AF_INET, 128 for AF_INET6

data: [u8; 0]

Arbitrary size

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]