pub trait AsAccountUpdateWithHash {
// Required methods
fn elt(&self) -> &MinaBaseZkappCommandTStableV1WireStableV1AccountUpdatesAA;
fn elt_mut(
&mut self,
) -> &mut MinaBaseZkappCommandTStableV1WireStableV1AccountUpdatesAA;
}Expand description
We need this trait because mina-p2p-messages contains different types for the same data
Required Methods§
fn elt(&self) -> &MinaBaseZkappCommandTStableV1WireStableV1AccountUpdatesAA
fn elt_mut( &mut self, ) -> &mut MinaBaseZkappCommandTStableV1WireStableV1AccountUpdatesAA
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".