Struct sp_trie::PrefixedKey
source · pub struct PrefixedKey<H>(/* private fields */);
Expand description
Various re-exports from the memory-db
crate.
Key function that concatenates prefix and hash.
Trait Implementations§
source§impl<H> Clone for PrefixedKey<H>
impl<H> Clone for PrefixedKey<H>
source§fn clone(&self) -> PrefixedKey<H>
fn clone(&self) -> PrefixedKey<H>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<H> Debug for PrefixedKey<H>
impl<H> Debug for PrefixedKey<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for PrefixedKey<H>where
H: RefUnwindSafe,
impl<H> Send for PrefixedKey<H>where
H: Send,
impl<H> Sync for PrefixedKey<H>where
H: Sync,
impl<H> Unpin for PrefixedKey<H>where
H: Unpin,
impl<H> UnwindSafe for PrefixedKey<H>where
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 T
impl<T, Outer> IsWrappedBy<Outer> for T
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
.