Struct dusk_hamt::KvPair [−][src]
pub struct KvPair<K, V> { /* fields omitted */ }
Implementations
Trait Implementations
type Archived = ArchivedKvPair<K, V>
type Archived = ArchivedKvPair<K, V>
The archived representation of this type. Read more
type Resolver = KvPairResolver<K, V>
type Resolver = KvPairResolver<K, V>
The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type. Read more
impl<__D: Fallible + ?Sized, K, V> Deserialize<KvPair<K, V>, __D> for Archived<KvPair<K, V>> where
K: Archive,
Archived<K>: Deserialize<K, __D>,
V: Archive,
Archived<V>: Deserialize<V, __D>,
impl<__D: Fallible + ?Sized, K, V> Deserialize<KvPair<K, V>, __D> for Archived<KvPair<K, V>> where
K: Archive,
Archived<K>: Deserialize<K, __D>,
V: Archive,
Archived<V>: Deserialize<V, __D>,
Auto Trait Implementations
impl<K, V> RefUnwindSafe for KvPair<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> UnwindSafe for KvPair<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
The archived counterpart of this type. Unlike Archive
, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
pub unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
Mutably borrows from an owned value. Read more