pub trait ContractVerify<Seal: RgbSeal>: ContractApi<Seal> {
// Provided method
fn evaluate<R: ReadOperation<Seal = Seal>>(
&mut self,
reader: R,
) -> Result<(), VerificationError<Seal>> { ... }
}
Expand description
Main implementation of the contract verification procedure.
§Nota bene
This trait cannot be manually implemented; it is always accessible as a blanked implementation
for all types implementing ContractApi
trait.
The purpose of the trait is to prevent overriding of the implementation in client libraries.
Provided Methods§
Sourcefn evaluate<R: ReadOperation<Seal = Seal>>(
&mut self,
reader: R,
) -> Result<(), VerificationError<Seal>>
fn evaluate<R: ReadOperation<Seal = Seal>>( &mut self, reader: R, ) -> Result<(), VerificationError<Seal>>
Evaluate contract state by verifying and applying contract operations coming from a
consignment reader
.
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.