pub struct EventBufferSteps<'buf, S: EngineSpec> { /* private fields */ }Expand description
An ordered list of steps contained in an event buffer.
Returned by EventBuffer::steps.
Implementations§
Source§impl<'buf, S: EngineSpec> EventBufferSteps<'buf, S>
impl<'buf, S: EngineSpec> EventBufferSteps<'buf, S>
Sourcepub fn as_slice(&self) -> &[(StepKey, &'buf EventBufferStepData<S>)]
pub fn as_slice(&self) -> &[(StepKey, &'buf EventBufferStepData<S>)]
Returns the list of steps in the event buffer.
Sourcepub fn summarize(&self) -> IndexMap<ExecutionUuid, ExecutionSummary>
pub fn summarize(&self) -> IndexMap<ExecutionUuid, ExecutionSummary>
Summarizes the current state of all known executions, keyed by execution ID.
Values are returned as an IndexMap, in order of when execution IDs
were first defined.
Trait Implementations§
Source§impl<'buf, S: EngineSpec> Clone for EventBufferSteps<'buf, S>
impl<'buf, S: EngineSpec> Clone for EventBufferSteps<'buf, S>
Auto Trait Implementations§
impl<'buf, S> Freeze for EventBufferSteps<'buf, S>
impl<'buf, S> RefUnwindSafe for EventBufferSteps<'buf, S>where
<S as EngineSpec>::ProgressMetadata: RefUnwindSafe,
<S as EngineSpec>::StepId: RefUnwindSafe,
<S as EngineSpec>::Component: RefUnwindSafe,
<S as EngineSpec>::StepMetadata: RefUnwindSafe,
<S as EngineSpec>::CompletionMetadata: RefUnwindSafe,
<S as EngineSpec>::SkippedMetadata: RefUnwindSafe,
impl<'buf, S> Send for EventBufferSteps<'buf, S>
impl<'buf, S> Sync for EventBufferSteps<'buf, S>
impl<'buf, S> Unpin for EventBufferSteps<'buf, S>
impl<'buf, S> UnsafeUnpin for EventBufferSteps<'buf, S>
impl<'buf, S> UnwindSafe for EventBufferSteps<'buf, S>where
<S as EngineSpec>::ProgressMetadata: RefUnwindSafe,
<S as EngineSpec>::StepId: RefUnwindSafe,
<S as EngineSpec>::Component: RefUnwindSafe,
<S as EngineSpec>::StepMetadata: RefUnwindSafe,
<S as EngineSpec>::CompletionMetadata: RefUnwindSafe,
<S as EngineSpec>::SkippedMetadata: RefUnwindSafe,
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