pub struct PointRef<'a> {
pub index: usize,
pub at: i64,
pub meta: &'a RunMeta,
pub context: &'a ContextSnapshot,
}Expand description
One replayed point, lent to a visit_points visitor rather than handed
over. Borrowing is the whole purpose: see that function.
Fields§
§index: usizePosition in the timeline, counting only records that produce a point. Stable for a given journal prefix, because the journal is append-only - which is what makes it usable as a pagination cursor.
at: i64Unix seconds this point was recorded.
meta: &'a RunMetaThe run metadata in effect at this point.
context: &'a ContextSnapshotThe full context window at this point.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PointRef<'a>
impl<'a> RefUnwindSafe for PointRef<'a>
impl<'a> Send for PointRef<'a>
impl<'a> Sync for PointRef<'a>
impl<'a> Unpin for PointRef<'a>
impl<'a> UnsafeUnpin for PointRef<'a>
impl<'a> UnwindSafe for PointRef<'a>
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