pub struct FileStoreConfig {
pub max_log_bytes: u64,
pub max_records: usize,
}Expand description
Hard bounds for the dependency-free compacting transaction state store.
Fields§
§max_log_bytes: u64Maximum active log bytes, including framing and checksums. When the next append would cross this bound, the latest record for every transaction is rewritten to the inactive slot and atomically selected by the control file.
max_records: usizeMaximum unique transactions retained by one store.
Trait Implementations§
Source§impl Clone for FileStoreConfig
impl Clone for FileStoreConfig
Source§fn clone(&self) -> FileStoreConfig
fn clone(&self) -> FileStoreConfig
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 moreimpl Copy for FileStoreConfig
Source§impl Debug for FileStoreConfig
impl Debug for FileStoreConfig
Source§impl Default for FileStoreConfig
impl Default for FileStoreConfig
impl Eq for FileStoreConfig
Source§impl PartialEq for FileStoreConfig
impl PartialEq for FileStoreConfig
impl StructuralPartialEq for FileStoreConfig
Auto Trait Implementations§
impl Freeze for FileStoreConfig
impl RefUnwindSafe for FileStoreConfig
impl Send for FileStoreConfig
impl Sync for FileStoreConfig
impl Unpin for FileStoreConfig
impl UnsafeUnpin for FileStoreConfig
impl UnwindSafe for FileStoreConfig
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