pub struct WalConfig {
pub durability: DurabilityMode,
pub max_log_size: u64,
pub compression: bool,
}Expand description
Configuration for the WAL manager.
Fields§
§durability: DurabilityModeDurability mode.
max_log_size: u64Maximum log file size before rotation (in bytes).
compression: boolWhether to enable compression.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalConfig
impl RefUnwindSafe for WalConfig
impl Send for WalConfig
impl Sync for WalConfig
impl Unpin for WalConfig
impl UnwindSafe for WalConfig
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