pub struct LoadEvent {
pub session: String,
pub ts: String,
pub source: Source,
pub path: Option<String>,
pub bytes: usize,
pub spilled: Option<usize>,
}Expand description
One thing that entered the context.
bytes is what was BILLED – the retained, possibly truncated content
(V76). A harness may spill an oversized result to a side file and keep
only a prefix; the spilled size is recorded separately and is NEVER
the load size. Measured: 5,749,032 bytes on disk against 30,000
retained, the same event 190x apart.
Fields§
§session: String§ts: String§source: Source§path: Option<String>The file this load concerned, when the tool named one.
bytes: usizeBilled size, in bytes of retained content (V76).
spilled: Option<usize>Bytes spilled to a side file and NOT billed. Reported so the gap
is visible, never added to bytes.
Trait Implementations§
impl Eq for LoadEvent
impl StructuralPartialEq for LoadEvent
Auto Trait Implementations§
impl Freeze for LoadEvent
impl RefUnwindSafe for LoadEvent
impl Send for LoadEvent
impl Sync for LoadEvent
impl Unpin for LoadEvent
impl UnsafeUnpin for LoadEvent
impl UnwindSafe for LoadEvent
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