pub struct TailBounds {
pub soft_records: WireU64,
pub hard_records: WireU64,
pub soft_bytes: WireU64,
pub hard_bytes: WireU64,
}Expand description
Soft watermark and hard limit of the journal tail, on both axes §12.3 names: canonical input count and bytes.
The hard limit is what makes KernelFaultCode::CheckpointRequired reachable, and reaching it
is a retryable, zero-mutation rejection — not the historical overflow latch, which
permanently disabled snapshots and all later staged transitions once it tripped.
Both axes exist because either one alone is escapable: a run of many tiny inputs blows the record count long before the byte budget, and a single oversized payload blows the byte budget on one record.
Fields§
§soft_records: WireU64§hard_records: WireU64§soft_bytes: WireU64§hard_bytes: WireU64Implementations§
Source§impl TailBounds
impl TailBounds
Trait Implementations§
Source§impl Clone for TailBounds
impl Clone for TailBounds
Source§fn clone(&self) -> TailBounds
fn clone(&self) -> TailBounds
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 TailBounds
Source§impl Debug for TailBounds
impl Debug for TailBounds
Source§impl Default for TailBounds
impl Default for TailBounds
Source§impl<'de> Deserialize<'de> for TailBounds
impl<'de> Deserialize<'de> for TailBounds
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TailBounds
Source§impl PartialEq for TailBounds
impl PartialEq for TailBounds
Source§impl Serialize for TailBounds
impl Serialize for TailBounds
impl StructuralPartialEq for TailBounds
Auto Trait Implementations§
impl Freeze for TailBounds
impl RefUnwindSafe for TailBounds
impl Send for TailBounds
impl Sync for TailBounds
impl Unpin for TailBounds
impl UnsafeUnpin for TailBounds
impl UnwindSafe for TailBounds
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