pub trait MetadataProvider {
// Required methods
fn last_execution_metadata(&self) -> Option<&ExecutionMetadata>;
fn execution_history(&self) -> &[ExecutionMetadata];
fn clear_history(&mut self);
}Expand description
Trait for components that provide execution metadata
Required Methods§
Sourcefn last_execution_metadata(&self) -> Option<&ExecutionMetadata>
fn last_execution_metadata(&self) -> Option<&ExecutionMetadata>
Get the last execution metadata
Sourcefn execution_history(&self) -> &[ExecutionMetadata]
fn execution_history(&self) -> &[ExecutionMetadata]
Get all execution history
Sourcefn clear_history(&mut self)
fn clear_history(&mut self)
Clear execution history