pub trait DynamicEvidenceSink: Send + Sync {
// Required method
fn deliver<'a>(
&'a self,
outcome: &'a DynamicOutcome,
) -> BoxFuture<'a, Result<String, String>>;
}Expand description
Receives dynamic outcomes (spec 019, 3.6). A receipt establishes that the sink accepted the outcome under its own durability terms, nothing more.
Required Methods§
fn deliver<'a>( &'a self, outcome: &'a DynamicOutcome, ) -> BoxFuture<'a, Result<String, String>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".