Enum trie_db::triedbmut::ChildReference[][src]

pub enum ChildReference<HO> {
    Hash(HO),
    Inline(HO, usize),
}

Used to build a collection of child nodes from a collection of NodeHandles

Variants

Hash(HO)
Inline(HO, usize)

Trait Implementations

impl<HO: Clone> Clone for ChildReference<HO>[src]

impl<HO: Copy> Copy for ChildReference<HO>[src]

impl<HO: Debug> Debug for ChildReference<HO>[src]

impl<'a, HO> TryFrom<NodeHandle<'a>> for ChildReference<HO> where
    HO: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + Copy
[src]

type Error = Vec<u8>

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<HO> RefUnwindSafe for ChildReference<HO> where
    HO: RefUnwindSafe

impl<HO> Send for ChildReference<HO> where
    HO: Send

impl<HO> Sync for ChildReference<HO> where
    HO: Sync

impl<HO> Unpin for ChildReference<HO> where
    HO: Unpin

impl<HO> UnwindSafe for ChildReference<HO> where
    HO: UnwindSafe

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> MaybeDebug for T where
    T: Debug
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.