pub struct TimelineEngine { /* private fields */ }Implementations§
Source§impl TimelineEngine
impl TimelineEngine
pub fn new(event_store: SharedEventStore) -> Self
pub fn get_events_in_range( &self, start: u64, end: u64, ) -> MemScopeResult<Vec<MemoryEvent>>
pub fn get_events_for_pointer(&self, ptr: usize) -> Vec<MemoryEvent>
pub fn get_events_for_thread(&self, thread_id: u64) -> Vec<MemoryEvent>
pub fn get_events_for_scope(&self, scope_name: &str) -> Vec<MemoryEvent>
pub fn replay_up_to(&self, timestamp: u64) -> MemScopeResult<Vec<MemoryEvent>>
pub fn invalidate_cache(&self)
pub fn get_event_count(&self) -> usize
pub fn get_time_range(&self) -> MemScopeResult<Option<(u64, u64)>>
Auto Trait Implementations§
impl !Freeze for TimelineEngine
impl !RefUnwindSafe for TimelineEngine
impl Send for TimelineEngine
impl Sync for TimelineEngine
impl Unpin for TimelineEngine
impl UnsafeUnpin for TimelineEngine
impl !UnwindSafe for TimelineEngine
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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