pub struct RealtimePreflight {Show 15 fields
pub command_queue_depth: usize,
pub command_queue_capacity: usize,
pub observe_queue_depth: usize,
pub observe_queue_capacity: usize,
pub has_snapshot: bool,
pub latest_snapshot_tick_id: u64,
pub snapshot_age_ticks: u64,
pub ring_capacity: usize,
pub ring_len: usize,
pub ring_write_pos: u64,
pub ring_oldest_retained_pos: Option<u64>,
pub ring_eviction_events: u64,
pub ring_stale_read_events: u64,
pub ring_skew_retry_events: u64,
pub tick_thread_stopped: bool,
}Expand description
Non-blocking visibility snapshot for realtime health checks.
Fields§
§command_queue_depth: usizePending command batches in the ingress channel.
command_queue_capacity: usizeIngress channel capacity (0 if unavailable/shut down).
observe_queue_depth: usizePending observation tasks in the egress task channel.
observe_queue_capacity: usizeEgress task channel capacity (0 if unavailable/shut down).
has_snapshot: boolWhether a snapshot is currently available to serve observes.
latest_snapshot_tick_id: u64Tick ID of the latest snapshot (0 when unavailable).
snapshot_age_ticks: u64Snapshot age in ticks relative to the current epoch.
ring_capacity: usizeRing retention capacity (maximum number of retained snapshots).
ring_len: usizeCurrent retained snapshot count.
ring_write_pos: u64Current monotonic ring write position.
ring_oldest_retained_pos: Option<u64>Oldest retained write position (None when ring is empty).
ring_eviction_events: u64Cumulative count of evictions from ring overwrite.
ring_stale_read_events: u64Cumulative count of stale/not-yet-written position reads.
ring_skew_retry_events: u64Cumulative count of overwrite-skew retry events.
tick_thread_stopped: boolWhether the tick thread has already stopped.
Trait Implementations§
Source§impl Clone for RealtimePreflight
impl Clone for RealtimePreflight
Source§fn clone(&self) -> RealtimePreflight
fn clone(&self) -> RealtimePreflight
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RealtimePreflight
impl Debug for RealtimePreflight
Source§impl PartialEq for RealtimePreflight
impl PartialEq for RealtimePreflight
impl Copy for RealtimePreflight
impl Eq for RealtimePreflight
impl StructuralPartialEq for RealtimePreflight
Auto Trait Implementations§
impl Freeze for RealtimePreflight
impl RefUnwindSafe for RealtimePreflight
impl Send for RealtimePreflight
impl Sync for RealtimePreflight
impl Unpin for RealtimePreflight
impl UnsafeUnpin for RealtimePreflight
impl UnwindSafe for RealtimePreflight
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
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§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
key and return true if they are equal.