#[non_exhaustive]pub struct EventLog {
pub events: Vec<Event>,
pub unreadable: usize,
}Expand description
A run’s logged events (crate::Runner::events), and how many of the log’s lines it
couldn’t read as one: a line another version of the runner wrote (an event kind or a code
this one doesn’t know), or one cut short.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.events: Vec<Event>The events, oldest first.
unreadable: usizeThe lines that aren’t an event this runner reads.
Trait Implementations§
impl StructuralPartialEq for EventLog
Auto Trait Implementations§
impl Forget for EventLog
impl Freeze for EventLog
impl Move for EventLog
impl RefUnwindSafe for EventLog
impl Send for EventLogwhere
RawVecInner: Send,
impl Sync for EventLogwhere
RawVecInner: Sync,
impl Unpin for EventLog
impl UnsafeUnpin for EventLog
impl UnwindSafe for EventLogwhere
RawVecInner: UnwindSafe,
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