ckb_verification_traits

Trait Verifier

Source
pub trait Verifier {
    type Target;

    // Required method
    fn verify(&self, target: &Self::Target) -> Result<(), Error>;
}
Expand description

Trait for verification

Required Associated Types§

Source

type Target

The verification associated target

Required Methods§

Source

fn verify(&self, target: &Self::Target) -> Result<(), Error>

The Interface for verification

Implementors§