Struct cfx_storage::MptSlicer
source · pub struct MptSlicer<'a> { /* private fields */ }
Implementations§
source§impl<'a> MptSlicer<'a>
impl<'a> MptSlicer<'a>
pub fn new(mpt: &'a mut dyn SnapshotMptTraitRead) -> Result<Self>
pub fn new_from_key( mpt: &'a mut dyn SnapshotMptTraitRead, key: &[u8] ) -> Result<Self>
pub fn to_proof(&self) -> TrieProof
pub fn get_range_end_key(&self) -> Option<&[u8]>
pub fn advance(&mut self, rlp_size_limit: u64) -> Result<()>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MptSlicer<'a>
impl<'a> !Send for MptSlicer<'a>
impl<'a> !Sync for MptSlicer<'a>
impl<'a> Unpin for MptSlicer<'a>
impl<'a> !UnwindSafe for MptSlicer<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more