pub struct ObservationReport {
pub range: (u64, u64),
pub bytes: Vec<u8>,
pub stats: ObservationStats,
}Expand description
A served observation: the exact requested bytes plus its cost attribution.
Fields§
§range: (u64, u64)The resolved half-open output range [a, b) that was served. Reporting it
lets a measurement harness compare the slice against the source and price
the sequential baselines at the same output offset.
bytes: Vec<u8>The exact requested output range.
stats: ObservationStatsMeasured cost attribution for serving that range.
Trait Implementations§
Source§impl Clone for ObservationReport
impl Clone for ObservationReport
Source§impl Debug for ObservationReport
impl Debug for ObservationReport
Source§impl PartialEq for ObservationReport
impl PartialEq for ObservationReport
impl StructuralPartialEq for ObservationReport
Auto Trait Implementations§
impl Freeze for ObservationReport
impl RefUnwindSafe for ObservationReport
impl Send for ObservationReport
impl Sync for ObservationReport
impl Unpin for ObservationReport
impl UnsafeUnpin for ObservationReport
impl UnwindSafe for ObservationReport
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