pub struct WalConfig {
pub sync_mode: SyncMode,
pub max_segment_size: u64,
pub wal_dir: PathBuf,
}Expand description
WAL configuration options
Fields§
§sync_mode: SyncModeSync mode: sync, async, or none
max_segment_size: u64Maximum segment size in bytes before rotation
wal_dir: PathBufDirectory path for WAL segments
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