pub trait ZkProofData<T: Pod> {
const PROOF_TYPE: ProofType;
// Required methods
fn context_data(&self) -> &T;
fn verify_proof(&self) -> Result<(), ProofVerificationError>;
}
Required Associated Constants§
const PROOF_TYPE: ProofType
Required Methods§
fn context_data(&self) -> &T
fn verify_proof(&self) -> Result<(), ProofVerificationError>
Object Safety§
This trait is not object safe.