Struct sp_trie::KeySpacedDB
source · pub struct KeySpacedDB<'a, DB: ?Sized, H>(/* private fields */);
Expand description
HashDB
implementation that append a encoded prefix (unique id bytes) in addition to the
prefix of every key value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, DB: ?Sized, H> RefUnwindSafe for KeySpacedDB<'a, DB, H>where DB: RefUnwindSafe, H: RefUnwindSafe,
impl<'a, DB: ?Sized, H> Send for KeySpacedDB<'a, DB, H>where DB: Sync, H: Send,
impl<'a, DB: ?Sized, H> Sync for KeySpacedDB<'a, DB, H>where DB: Sync, H: Sync,
impl<'a, DB: ?Sized, H> Unpin for KeySpacedDB<'a, DB, H>where H: Unpin,
impl<'a, DB: ?Sized, H> UnwindSafe for KeySpacedDB<'a, DB, H>where DB: RefUnwindSafe, H: 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.