pub struct ParallelWalConfig {
pub slot_count: usize,
pub epoch_interval_ms: u64,
pub buffer_capacity_bytes: usize,
}Expand description
Configuration for the parallel WAL coordinator.
Fields§
§slot_count: usizeNumber of buffer slots (typically 128 for 16 threads).
epoch_interval_ms: u64Epoch advance interval in milliseconds (default: 10ms).
buffer_capacity_bytes: usizeBuffer capacity in bytes per slot (default: 4MB).
Trait Implementations§
Source§impl Clone for ParallelWalConfig
impl Clone for ParallelWalConfig
Source§fn clone(&self) -> ParallelWalConfig
fn clone(&self) -> ParallelWalConfig
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 ParallelWalConfig
Source§impl Debug for ParallelWalConfig
impl Debug for ParallelWalConfig
Auto Trait Implementations§
impl Freeze for ParallelWalConfig
impl RefUnwindSafe for ParallelWalConfig
impl Send for ParallelWalConfig
impl Sync for ParallelWalConfig
impl Unpin for ParallelWalConfig
impl UnsafeUnpin for ParallelWalConfig
impl UnwindSafe for ParallelWalConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more