Node
snowbridge_
ethereum
0.3.0
Node
Required Methods
contains_hash
Trait Implementations
TryFrom<&[u8]>
Implementors
In snowbridge_
ethereum::
mpt
Structs
FullNode
ShortNode
Traits
Node
snowbridge_ethereum
::
mpt
Trait
Node
Copy item path
Settings
Help
Summary
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
§
Source
§
impl
Node
for
FullNode
Source
§
impl
Node
for
ShortNode