Skip to main content

Verifiable

Trait Verifiable 

Source
pub trait Verifiable {
    // Required method
    fn verify(&self) -> Result<()>;
}
Expand description

Required Methods§

Source

fn verify(&self) -> Result<()>

Verifies the block or vertex. The protocol must ensure that its parents has already been verified.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§