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§
§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: u32Trait 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.
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
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