#[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§impl PartialEq for NeighbourTableConfig
impl PartialEq for NeighbourTableConfig
impl Copy for NeighbourTableConfig
impl Eq for NeighbourTableConfig
impl StructuralPartialEq for NeighbourTableConfig
Auto Trait Implementations§
impl Freeze for NeighbourTableConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)