Struct sp_trie::KeySpacedDB
source · [−]pub struct KeySpacedDB<'a, DB, H>(_, _, _);
Expand description
HashDB
implementation that append a encoded prefix (unique id bytes) in addition to the
prefix of every key value.
Implementations
sourceimpl<'a, DB, H> KeySpacedDB<'a, DB, H> where
H: Hasher,
impl<'a, DB, H> KeySpacedDB<'a, DB, H> where
H: Hasher,
Trait Implementations
sourceimpl<'a, DB, H, T> HashDBRef<H, T> for KeySpacedDB<'a, DB, H> where
DB: HashDBRef<H, T>,
H: Hasher,
T: From<&'static [u8]>,
impl<'a, DB, H, T> HashDBRef<H, T> for KeySpacedDB<'a, DB, H> where
DB: HashDBRef<H, T>,
H: Hasher,
T: From<&'static [u8]>,
Auto Trait Implementations
impl<'a, DB, H> RefUnwindSafe for KeySpacedDB<'a, DB, H> where
DB: RefUnwindSafe,
H: RefUnwindSafe,
impl<'a, DB, H> Send for KeySpacedDB<'a, DB, H> where
DB: Sync,
H: Send,
impl<'a, DB, H> Sync for KeySpacedDB<'a, DB, H> where
DB: Sync,
H: Sync,
impl<'a, DB, H> Unpin for KeySpacedDB<'a, DB, H> where
H: Unpin,
impl<'a, DB, H> UnwindSafe for KeySpacedDB<'a, DB, H> where
DB: RefUnwindSafe,
H: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
sourceimpl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
sourcepub fn unchecked_into(self) -> T
pub fn unchecked_into(self) -> T
The counterpart to unchecked_from
.