pub struct TrieCollection<D: DatabaseMut, C: ItemCounter> { /* private fields */ }Implementations§
Source§impl<D: DatabaseMut, C: ItemCounter> TrieCollection<D, C>
impl<D: DatabaseMut, C: ItemCounter> TrieCollection<D, C>
pub fn new(database: D, counter: C) -> Self
pub fn trie_for<'a>(&'a self, root: H256) -> DatabaseTrieMut<'a, D>
pub fn apply<'a>(&'a mut self, trie: DatabaseTrieMut<'a, D>)
Auto Trait Implementations§
impl<D, C> Freeze for TrieCollection<D, C>
impl<D, C> RefUnwindSafe for TrieCollection<D, C>where
D: RefUnwindSafe,
C: RefUnwindSafe,
impl<D, C> Send for TrieCollection<D, C>
impl<D, C> Sync for TrieCollection<D, C>
impl<D, C> Unpin for TrieCollection<D, C>
impl<D, C> UnsafeUnpin for TrieCollection<D, C>where
D: UnsafeUnpin,
C: UnsafeUnpin,
impl<D, C> UnwindSafe for TrieCollection<D, C>where
D: UnwindSafe,
C: UnwindSafe,
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