pub struct Status {
pub generation: u64,
pub max_records: u64,
pub records_written: u64,
pub bytes_written: u64,
pub last_sequence: u64,
pub last_monotonic_ns: u64,
pub enabled: bool,
pub terminal_written: bool,
pub open_scopes: u32,
pub stop_reason: StopReason,
pub errno: i32,
}Expand description
Scalar snapshot of one installation, serializable after measured work.
Fields§
§generation: u64Unique process-local installation ID, also carried in every record.
max_records: u64Configured count including header and terminal.
records_written: u64Complete records successfully written; failed partial tails are excluded.
bytes_written: u64Actual bytes written, including any partial final record.
last_sequence: u64Last successfully written sequence, zero before the header succeeds.
last_monotonic_ns: u64Most recently published monotonic clock sample, or zero initially.
enabled: boolWhether another nonterminal publication is currently allowed.
terminal_written: boolWhether a complete terminal record was successfully written.
open_scopes: u32Open scopes at the last successful structural boundary.
stop_reason: StopReasonReason publication stopped; a failed terminal reports its publication failure instead of the intended cap, abandonment, or open-scope reason.
errno: i32OS error associated with a clock or write failure, otherwise zero.
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Forget for Status
impl Freeze for Status
impl Move for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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.