pub struct M0Defaults {
pub block_size_tokens: u16,
pub hash_function: HashFunction,
pub wal_chunk_target_mb: u16,
pub wire_format: WireFormat,
}Expand description
Frozen embedded-mode defaults used until superseded by a versioned config RFC.
Fields§
§block_size_tokens: u16§hash_function: HashFunction§wal_chunk_target_mb: u16§wire_format: WireFormatImplementations§
Trait Implementations§
Source§impl Clone for M0Defaults
impl Clone for M0Defaults
Source§fn clone(&self) -> M0Defaults
fn clone(&self) -> M0Defaults
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 M0Defaults
impl Debug for M0Defaults
Source§impl Default for M0Defaults
impl Default for M0Defaults
Source§impl PartialEq for M0Defaults
impl PartialEq for M0Defaults
Source§fn eq(&self, other: &M0Defaults) -> bool
fn eq(&self, other: &M0Defaults) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for M0Defaults
impl Eq for M0Defaults
impl StructuralPartialEq for M0Defaults
Auto Trait Implementations§
impl Freeze for M0Defaults
impl RefUnwindSafe for M0Defaults
impl Send for M0Defaults
impl Sync for M0Defaults
impl Unpin for M0Defaults
impl UnsafeUnpin for M0Defaults
impl UnwindSafe for M0Defaults
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