Trait cfg_traits::liquidity_pools::LpMessageProof
source · 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§
sourcefn is_proof_message(&self) -> bool
fn is_proof_message(&self) -> bool
Returns whether the message is a proof or not.
sourcefn to_proof_message(&self) -> Self
fn to_proof_message(&self) -> Self
Converts the message into a message proof type.
Object Safety§
This trait is not object safe.