#[non_exhaustive]pub enum LogRecord {
RunStart(RunStartRecord),
MetadataUpdate(MetadataUpdateRecord),
Event(BenchEventRecord),
RunEnd(RunEndRecord),
Unknown(Value),
}Expand description
One parsed line from a benchmark artifact.
§Examples
use ailloli_ui_bench::LogRecord;
let record = LogRecord::Unknown(serde_json::json!({"record_type": "future"}));
assert!(matches!(record, LogRecord::Unknown(_)));Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RunStart(RunStartRecord)
Initial run identity and metadata.
MetadataUpdate(MetadataUpdateRecord)
Sparse late metadata overlay.
Event(BenchEventRecord)
Correlated benchmark event.
RunEnd(RunEndRecord)
Terminal validity and writer counts.
Unknown(Value)
A future record type retained verbatim by the tolerant reader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnwindSafe for LogRecord
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