pub trait EvidenceStore: Send + Sync {
// Required methods
fn store<'life0, 'async_trait>(
&'life0 self,
command: StoreEvidenceCommand,
) -> Pin<Box<dyn Future<Output = Result<StoredEvidence, AdkError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn load<'life0, 'async_trait>(
&'life0 self,
lookup: EvidenceLookup,
) -> Pin<Box<dyn Future<Output = Result<Option<StoredEvidence>, AdkError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Available on crate feature
payments only.Expand description
Raw evidence storage used to preserve immutable protocol artifacts.