Skip to main content

Proof

Trait Proof 

Source
pub trait Proof<A: Allocator = Global>: Encode + DecodeIn<A> {
    const VERSION: Version;
}
Expand description

Trait implemented by proof payloads for a specific serialization version.

Required Associated Constants§

Source

const VERSION: Version

Version identifier that must match the encoded proof.

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.

Implementors§