pub trait LpMessageProof: LpMessageHash {
    // Required methods
    fn is_proof_message(&self) -> bool;
    fn to_proof_message(&self) -> Self;
}
Expand description

Behavior of a message that can support proofs

Required Methods§

source

fn is_proof_message(&self) -> bool

Returns whether the message is a proof or not.

source

fn to_proof_message(&self) -> Self

Converts the message into a message proof type.

Object Safety§

This trait is not object safe.

Implementors§