#[repr(C)]pub struct TriggerState {
pub events_fired: u64,
pub trigger_errors: u64,
pub events_dropped: u64,
pub last_fire_ns: u64,
}Expand description
Live state metrics for any trigger source.
Fields§
§events_fired: u64Total trigger events fired since startup.
trigger_errors: u64Total trigger errors encountered.
events_dropped: u64Total events dropped due to channel backpressure.
last_fire_ns: u64Timestamp (ns) of the most recent fire (0 if never fired).
Trait Implementations§
Source§impl Clone for TriggerState
impl Clone for TriggerState
Source§fn clone(&self) -> TriggerState
fn clone(&self) -> TriggerState
Returns a duplicate of the value. Read more
1.0.0 · 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 TriggerState
impl Debug for TriggerState
Source§impl Default for TriggerState
impl Default for TriggerState
impl Copy for TriggerState
Auto Trait Implementations§
impl Freeze for TriggerState
impl RefUnwindSafe for TriggerState
impl Send for TriggerState
impl Sync for TriggerState
impl Unpin for TriggerState
impl UnsafeUnpin for TriggerState
impl UnwindSafe for TriggerState
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