pub struct SessionReplayIndex<'a> { /* private fields */ }Expand description
Viewer-only checkpoint and timestamp index for efficient temporal seeks.
Implementations§
Source§impl<'a> SessionReplayIndex<'a>
impl<'a> SessionReplayIndex<'a>
pub fn new( entries: &'a [SessionEntryRecord], events: &'a [SessionEventRecord], checkpoint_interval: usize, ) -> Self
pub fn state_at_seq(&self, through_seq: u64) -> TemporalSessionState
pub fn seq_at_or_before(&self, timestamp_ms: i64) -> u64
Auto Trait Implementations§
impl<'a> Freeze for SessionReplayIndex<'a>
impl<'a> RefUnwindSafe for SessionReplayIndex<'a>
impl<'a> Send for SessionReplayIndex<'a>
impl<'a> Sync for SessionReplayIndex<'a>
impl<'a> Unpin for SessionReplayIndex<'a>
impl<'a> UnsafeUnpin for SessionReplayIndex<'a>
impl<'a> UnwindSafe for SessionReplayIndex<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more