pub struct WalConfig {
pub sync_mode: SyncMode,
pub size_limit: u64,
pub checkpoint_threshold: u64,
}Expand description
WAL construction options.
Fields§
§sync_mode: SyncModePer-commit durability primitive.
size_limit: u64Maximum WAL file size in bytes. Exceeding this returns
Error::InvalidArgument("wal size limit exceeded").
checkpoint_threshold: u64Auto-checkpoint threshold (in frames).
Trait Implementations§
impl Copy for WalConfig
Auto Trait Implementations§
impl Freeze for WalConfig
impl RefUnwindSafe for WalConfig
impl Send for WalConfig
impl Sync for WalConfig
impl Unpin for WalConfig
impl UnsafeUnpin 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