#[non_exhaustive]pub struct FillControlSnapshot {
pub pressure: FillPressure,
pub enforcing: bool,
pub bytes_per_second: u64,
pub records_per_second: u32,
pub rejections: u64,
pub would_reject: u64,
pub dropped_observations: u64,
pub outstanding_operations: u64,
pub outstanding_bytes: u64,
pub oldest_operation_ns: u64,
pub estimated_drain_ns: u64,
}Expand description
Fill-pressure controller state and accounting.
Always populated when fill control is enabled, independent of statistics.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.pressure: FillPressureCurrent measured pressure; Observe mode does not enforce it.
enforcing: boolWhether the controller enforces its admission decisions.
bytes_per_second: u64Configured encoded-byte ceiling when healthy; zero while paused.
records_per_second: u32Configured fill-record ceiling when healthy; zero while paused.
rejections: u64Fills rejected by Adaptive while paused.
would_reject: u64Observe-mode pause refusals.
dropped_observations: u64Background observations skipped because the table was full.
outstanding_operations: u64Background operations awaiting completion or validation.
outstanding_bytes: u64Bytes held by those background operations; excludes unflushed staging.
oldest_operation_ns: u64Age of the oldest background operation.
estimated_drain_ns: u64Estimated drain time using validated background throughput since open.
Trait Implementations§
Source§impl Clone for FillControlSnapshot
impl Clone for FillControlSnapshot
impl Copy for FillControlSnapshot
Source§impl Debug for FillControlSnapshot
impl Debug for FillControlSnapshot
Source§impl Default for FillControlSnapshot
impl Default for FillControlSnapshot
impl Eq for FillControlSnapshot
Source§impl PartialEq for FillControlSnapshot
impl PartialEq for FillControlSnapshot
impl StructuralPartialEq for FillControlSnapshot
Auto Trait Implementations§
impl Forget for FillControlSnapshot
impl Freeze for FillControlSnapshot
impl Move for FillControlSnapshot
impl RefUnwindSafe for FillControlSnapshot
impl Send for FillControlSnapshot
impl Sync for FillControlSnapshot
impl Unpin for FillControlSnapshot
impl UnsafeUnpin for FillControlSnapshot
impl UnwindSafe for FillControlSnapshot
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