Struct netlink_packet_route::rtnl::neighbour_table::nlas::Config
source · #[non_exhaustive]pub struct Config {
pub key_len: u16,
pub entry_size: u16,
pub entries: u32,
pub last_flush: u32,
pub last_rand: u32,
pub hash_rand: u32,
pub hash_mask: u32,
pub hash_chain_gc: u32,
pub proxy_qlen: u32,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_len: u16
§entry_size: u16
§entries: u32
§last_flush: u32
§last_rand: u32
§hash_rand: u32
§hash_mask: u32
§hash_chain_gc: u32
§proxy_qlen: u32
Trait Implementations§
source§impl<T: AsRef<[u8]>> Parseable<ConfigBuffer<T>> for Config
impl<T: AsRef<[u8]>> Parseable<ConfigBuffer<T>> for Config
source§fn parse(buf: &ConfigBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &ConfigBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<Config> for Config
impl PartialEq<Config> for Config
impl Copy for Config
impl Eq for Config
impl StructuralEq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more