Struct trie_db::TrieRootUnhashed
source · pub struct TrieRootUnhashed<T: TrieLayout> {
pub root: Option<Vec<u8>>,
/* private fields */
}
Expand description
Get the trie root node encoding.
Fields§
§root: Option<Vec<u8>>
The resulting encoded root.
Trait Implementations§
source§impl<T: TrieLayout> Default for TrieRootUnhashed<T>
impl<T: TrieLayout> Default for TrieRootUnhashed<T>
source§impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootUnhashed<T>
impl<T: TrieLayout> ProcessEncodedNode<<<T as TrieLayout>::Hash as Hasher>::Out> for TrieRootUnhashed<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for TrieRootUnhashed<T>where T: RefUnwindSafe,
impl<T> Send for TrieRootUnhashed<T>where T: Send,
impl<T> Sync for TrieRootUnhashed<T>where T: Sync,
impl<T> Unpin for TrieRootUnhashed<T>where T: Unpin,
impl<T> UnwindSafe for TrieRootUnhashed<T>where T: 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