Trait Verifier

Source
pub trait Verifier
where Self: Sized + Seal,
{ // Required method fn check_contract_in_inputs( &mut self, panic_context: &mut PanicContext, input_contracts: &BTreeSet<ContractId>, contract_id: &ContractId, ) -> Result<(), PanicOrBug>; }
Expand description

What to do when verification fails.

Required Methods§

Source

fn check_contract_in_inputs( &mut self, panic_context: &mut PanicContext, input_contracts: &BTreeSet<ContractId>, contract_id: &ContractId, ) -> Result<(), PanicOrBug>

Handle an error after a contract is missing from the inputs

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Verifier for AttemptContinue
where Self: Sized,

Source§

impl Verifier for Normal
where Self: Sized,