#[non_exhaustive]pub struct NeighbourTableConfig {
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 Clone for NeighbourTableConfig
impl Clone for NeighbourTableConfig
source§fn clone(&self) -> NeighbourTableConfig
fn clone(&self) -> NeighbourTableConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NeighbourTableConfig
impl Debug for NeighbourTableConfig
source§impl Emitable for NeighbourTableConfig
impl Emitable for NeighbourTableConfig
source§impl<T: AsRef<[u8]>> Parseable<NeighbourTableConfigBuffer<T>> for NeighbourTableConfig
impl<T: AsRef<[u8]>> Parseable<NeighbourTableConfigBuffer<T>> for NeighbourTableConfig
source§fn parse(buf: &NeighbourTableConfigBuffer<T>) -> Result<Self, DecodeError>
fn parse(buf: &NeighbourTableConfigBuffer<T>) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq for NeighbourTableConfig
impl PartialEq for NeighbourTableConfig
source§fn eq(&self, other: &NeighbourTableConfig) -> bool
fn eq(&self, other: &NeighbourTableConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NeighbourTableConfig
impl Eq for NeighbourTableConfig
impl StructuralEq for NeighbourTableConfig
impl StructuralPartialEq for NeighbourTableConfig
Auto Trait Implementations§
impl RefUnwindSafe for NeighbourTableConfig
impl Send for NeighbourTableConfig
impl Sync for NeighbourTableConfig
impl Unpin for NeighbourTableConfig
impl UnwindSafe for NeighbourTableConfig
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