pub enum MultiTrieNodeData<T>where
T: Clone,{
Leaf(DigitTrieDump<T>),
Node(DigitTrieDump<Vec<TrieNodeInfo>>),
}Expand description
Holds the data of a multi trie node. Used for serialization purpose.
Variants§
Leaf(DigitTrieDump<T>)
A leaf in the trie.
Node(DigitTrieDump<Vec<TrieNodeInfo>>)
A node in the trie.
Auto Trait Implementations§
impl<T> Freeze for MultiTrieNodeData<T>
impl<T> RefUnwindSafe for MultiTrieNodeData<T>where
T: RefUnwindSafe,
impl<T> Send for MultiTrieNodeData<T>where
T: Send,
impl<T> Sync for MultiTrieNodeData<T>where
T: Sync,
impl<T> Unpin for MultiTrieNodeData<T>where
T: Unpin,
impl<T> UnwindSafe for MultiTrieNodeData<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