Enum tetsy_trie_db::TrieKinds[][src]

pub enum TrieKinds<'db, L: TrieLayout> {
    Generic(TrieDB<'db, L>),
    Secure(SecTrieDB<'db, L>),
    Fat(FatDB<'db, L>),
}

All different kinds of tries. This is used to prevent a heap allocation for every created trie.

Variants

Generic(TrieDB<'db, L>)

A generic trie db.

Secure(SecTrieDB<'db, L>)

A secure trie db.

Fat(FatDB<'db, L>)

A fat trie db.

Trait Implementations

impl<'db, L: TrieLayout> Trie<L> for TrieKinds<'db, L>[src]

Auto Trait Implementations

impl<'db, L> !RefUnwindSafe for TrieKinds<'db, L>

impl<'db, L> !Send for TrieKinds<'db, L>

impl<'db, L> !Sync for TrieKinds<'db, L>

impl<'db, L> Unpin for TrieKinds<'db, L>

impl<'db, L> !UnwindSafe for TrieKinds<'db, L>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.