pub struct ParallelWalControlSurface {
pub mode: ParallelWalOperatingMode,
pub lane_count_override: Option<usize>,
pub helper_lane_budget: Option<usize>,
pub max_parallel_commit_bytes: Option<u64>,
pub max_flush_delay_ms: Option<u64>,
pub shadow_compare_sampling_per_mille: Option<u16>,
}Expand description
Explicit operator control surface for the D1.a contract.
This is intentionally configuration-shaped rather than implementation- shaped so the later D1.b/D1.c/D1.d beads cannot reinterpret the runtime knobs ad hoc.
Fields§
§mode: ParallelWalOperatingModeAuto, Conservative, or ShadowCompare.
lane_count_override: Option<usize>Optional hard override for the number of active append lanes.
helper_lane_budget: Option<usize>Optional cap for helper/combine lanes assisting with flush work.
max_parallel_commit_bytes: Option<u64>Optional cap on batch bytes the decision plane may stage before sealing.
max_flush_delay_ms: Option<u64>Optional cap on how long a batch may wait before being sealed/flushed.
shadow_compare_sampling_per_mille: Option<u16>Shadow-compare sampling rate in per-mille. None disables sampling.
Trait Implementations§
Source§impl Clone for ParallelWalControlSurface
impl Clone for ParallelWalControlSurface
Source§fn clone(&self) -> ParallelWalControlSurface
fn clone(&self) -> ParallelWalControlSurface
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 ParallelWalControlSurface
impl Debug for ParallelWalControlSurface
Source§impl Default for ParallelWalControlSurface
impl Default for ParallelWalControlSurface
impl Eq for ParallelWalControlSurface
Source§impl PartialEq for ParallelWalControlSurface
impl PartialEq for ParallelWalControlSurface
Source§fn eq(&self, other: &ParallelWalControlSurface) -> bool
fn eq(&self, other: &ParallelWalControlSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParallelWalControlSurface
Auto Trait Implementations§
impl Freeze for ParallelWalControlSurface
impl RefUnwindSafe for ParallelWalControlSurface
impl Send for ParallelWalControlSurface
impl Sync for ParallelWalControlSurface
impl Unpin for ParallelWalControlSurface
impl UnsafeUnpin for ParallelWalControlSurface
impl UnwindSafe for ParallelWalControlSurface
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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