MetadataProvider

Trait MetadataProvider 

Source
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§

Source

fn last_execution_metadata(&self) -> Option<&ExecutionMetadata>

Get the last execution metadata

Source

fn execution_history(&self) -> &[ExecutionMetadata]

Get all execution history

Source

fn clear_history(&mut self)

Clear execution history

Implementors§