pub struct ProcessedEvent {
pub event_idx: usize,
pub anomalies: Vec<AnomalyRow>,
pub latency: Duration,
pub status: EventStatus,
}Expand description
One processed event: the original index in the input stream, the top-k anomalies (empty if the gate skipped or budget refused), the wall-time spent on this event, and a status flag.
Fields§
§event_idx: usizePosition of this event in the input iterator.
anomalies: Vec<AnomalyRow>Top-k anomalies. Empty if status != Solved.
latency: DurationWall-time spent on this event.
status: EventStatusWhat happened.
Trait Implementations§
Source§impl Clone for ProcessedEvent
impl Clone for ProcessedEvent
Source§fn clone(&self) -> ProcessedEvent
fn clone(&self) -> ProcessedEvent
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 moreAuto Trait Implementations§
impl Freeze for ProcessedEvent
impl RefUnwindSafe for ProcessedEvent
impl Send for ProcessedEvent
impl Sync for ProcessedEvent
impl Unpin for ProcessedEvent
impl UnsafeUnpin for ProcessedEvent
impl UnwindSafe for ProcessedEvent
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