referrerpolicy=no-referrer-when-downgrade

Trait snowbridge_ethereum::mpt::Node

source ·
pub trait Node {
    // Required method
    fn contains_hash(&self, hash: H256) -> bool;
}

Required Methods§

source

fn contains_hash(&self, hash: H256) -> bool

Trait Implementations§

source§

impl TryFrom<&[u8]> for Box<dyn Node>

§

type Error = DecoderError

The type returned in the event of a conversion error.
source§

fn try_from(bytes: &[u8]) -> Result<Box<dyn Node>, Self::Error>

Performs the conversion.

Implementors§