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