[][src]Struct memory_db::LegacyPrefixedKey

pub struct LegacyPrefixedKey<H: KeyHasher>(_);
👎 Deprecated since 0.22.0

Key function that concatenates prefix and hash. This is doing useless computation and should only be used for legacy purpose. It shall be remove in the future.

Trait Implementations

impl<H: Clone + KeyHasher> Clone for LegacyPrefixedKey<H>[src]

impl<H: Debug + KeyHasher> Debug for LegacyPrefixedKey<H>[src]

impl<H: KeyHasher> KeyFunction<H> for LegacyPrefixedKey<H>[src]

type Key = Vec<u8>

Auto Trait Implementations

impl<H> RefUnwindSafe for LegacyPrefixedKey<H> where
    H: RefUnwindSafe

impl<H> Send for LegacyPrefixedKey<H>

impl<H> Sync for LegacyPrefixedKey<H>

impl<H> Unpin for LegacyPrefixedKey<H> where
    H: Unpin

impl<H> UnwindSafe for LegacyPrefixedKey<H> where
    H: 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> 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.