referrerpolicy=no-referrer-when-downgrade
snowbridge_ethereum::mpt

Trait 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>

Source§

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§