pub struct RunHistory { /* private fields */ }Expand description
Validated execution facts and the model-visible tail of one durable Run.
Implementations§
Source§impl RunHistory
impl RunHistory
Sourcepub fn from_events(
run_id: RunId,
events: &[SessionEvent],
) -> Result<Self, RuntimeError>
pub fn from_events( run_id: RunId, events: &[SessionEvent], ) -> Result<Self, RuntimeError>
Convenience for in-memory callers; stores should feed bounded pages to RunHistoryReplay.
Trait Implementations§
Source§impl Clone for RunHistory
impl Clone for RunHistory
Source§fn clone(&self) -> RunHistory
fn clone(&self) -> RunHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunHistory
impl RefUnwindSafe for RunHistory
impl Send for RunHistory
impl Sync for RunHistory
impl Unpin for RunHistory
impl UnsafeUnpin for RunHistory
impl UnwindSafe for RunHistory
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