pub trait IssuanceGate {
// Required method
fn compare_and_append(
&mut self,
lane: &IssuanceLane,
expected_previous: &str,
candidate: &Act,
) -> Result<(), String>;
}Expand description
Host capability required for durable issuance. All operation kinds share
the same (dialect, thread, opener, field, account) lane. Implementations must
atomically persist the FULL candidate against expected_previous and never
sign/publish a losing candidate. Recovery reuses the persisted candidate.
Required Methods§
fn compare_and_append( &mut self, lane: &IssuanceLane, expected_previous: &str, candidate: &Act, ) -> Result<(), String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".