pub struct LogStoreOptions {
pub idem_hot_cap: usize,
pub snapshot_every: u64,
pub segment_max: u64,
}Expand description
Options for opening a LogTaleaStore.
Fields§
§idem_hot_cap: usizeMaximum number of hot idempotency keys kept in memory. Overflow drains the oldest half to on-disk spill runs.
snapshot_every: u64Events between automatic snapshots (0 = disabled).
segment_max: u64Maximum bytes per segment file before rotation.
Trait Implementations§
Source§impl Clone for LogStoreOptions
impl Clone for LogStoreOptions
Source§fn clone(&self) -> LogStoreOptions
fn clone(&self) -> LogStoreOptions
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 LogStoreOptions
impl Debug for LogStoreOptions
Auto Trait Implementations§
impl Freeze for LogStoreOptions
impl RefUnwindSafe for LogStoreOptions
impl Send for LogStoreOptions
impl Sync for LogStoreOptions
impl Unpin for LogStoreOptions
impl UnsafeUnpin for LogStoreOptions
impl UnwindSafe for LogStoreOptions
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