snowbridge_ethereum
0.3.0
Node
Required Methods
contains_hash
Trait Implementations
TryFrom<&[u8]>
Implementors
In snowbridge_ethereum::mpt
Trait
snowbridge_ethereum
::
mpt
::
Node
Copy item path
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
§
source
§
impl
Node
for
FullNode
source
§
impl
Node
for
ShortNode