pub trait Verifierwhere
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§
Sourcefn check_contract_in_inputs(
&mut self,
panic_context: &mut PanicContext,
input_contracts: &BTreeSet<ContractId>,
contract_id: &ContractId,
) -> Result<(), PanicOrBug>
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.