Struct memory_db::LegacyPrefixedKey
source ยท pub struct LegacyPrefixedKey<H: KeyHasher>(/* private fields */);
๐Deprecated since 0.22.0
Expand description
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ยง
sourceยงimpl<H: Clone + KeyHasher> Clone for LegacyPrefixedKey<H>
impl<H: Clone + KeyHasher> Clone for LegacyPrefixedKey<H>
sourceยงfn clone(&self) -> LegacyPrefixedKey<H>
fn clone(&self) -> LegacyPrefixedKey<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 moreAuto Trait Implementationsยง
impl<H> Freeze for LegacyPrefixedKey<H>
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ยง
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)