pub struct EventWindow {
pub events: Vec<Value>,
pub oldest_seq: u64,
pub newest_seq: u64,
pub dropped: u64,
}Expand description
A snapshot of the ring window an agentd://events?after=<seq> read returns:
the entries with seq > after (after optional level/event-prefix filtering),
plus the ring’s current window bounds and cumulative dropped.
Fields§
§events: Vec<Value>§oldest_seq: u64§newest_seq: u64§dropped: u64Auto Trait Implementations§
impl Freeze for EventWindow
impl RefUnwindSafe for EventWindow
impl Send for EventWindow
impl Sync for EventWindow
impl Unpin for EventWindow
impl UnsafeUnpin for EventWindow
impl UnwindSafe for EventWindow
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