pub struct SpoolStatus {
pub pending_count: usize,
pub spool_path: PathBuf,
pub last_flush_time_ms: Option<i64>,
pub last_error: Option<String>,
pub replay_attempts: u64,
pub dropped_count: u64,
}Expand description
Live + on-disk spool observability snapshot.
Fields§
§pending_count: usizeCount of buffered NDJSON entries not yet replayed into the daemon.
spool_path: PathBufPath to the NDJSON spool file this status describes.
last_flush_time_ms: Option<i64>Epoch milliseconds of the last successful flush.
last_error: Option<String>Last connectivity or flush error observed for this spool file.
replay_attempts: u64Cumulative replay attempts (each flush try per spooled entry).
dropped_count: u64Cumulative entries dropped by retention trimming (size/age caps). Always
0 when no cap is configured.
Trait Implementations§
Source§impl Clone for SpoolStatus
impl Clone for SpoolStatus
Source§fn clone(&self) -> SpoolStatus
fn clone(&self) -> SpoolStatus
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 SpoolStatus
impl Debug for SpoolStatus
Source§impl<'de> Deserialize<'de> for SpoolStatus
impl<'de> Deserialize<'de> for SpoolStatus
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 SpoolStatus
Source§impl PartialEq for SpoolStatus
impl PartialEq for SpoolStatus
Source§fn eq(&self, other: &SpoolStatus) -> bool
fn eq(&self, other: &SpoolStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpoolStatus
impl Serialize for SpoolStatus
impl StructuralPartialEq for SpoolStatus
Auto Trait Implementations§
impl Freeze for SpoolStatus
impl RefUnwindSafe for SpoolStatus
impl Send for SpoolStatus
impl Sync for SpoolStatus
impl Unpin for SpoolStatus
impl UnsafeUnpin for SpoolStatus
impl UnwindSafe for SpoolStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.