Struct wasmer_types::ArchivableIndexMap [−][src]
Expand description
Rkyv Archivable IndexMap
Trait Implementations
impl<__D: Fallible + ?Sized, K: Hash + Eq + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>> where
HashMap<K, u64>: Archive,
Archived<HashMap<K, u64>>: Deserialize<HashMap<K, u64>, __D>,
Vec<(K, V)>: Archive,
Archived<Vec<(K, V)>>: Deserialize<Vec<(K, V)>, __D>,
[src]
impl<__D: Fallible + ?Sized, K: Hash + Eq + Archive, V: Archive> Deserialize<ArchivableIndexMap<K, V>, __D> for Archived<ArchivableIndexMap<K, V>> where
HashMap<K, u64>: Archive,
Archived<HashMap<K, u64>>: Deserialize<HashMap<K, u64>, __D>,
Vec<(K, V)>: Archive,
Archived<Vec<(K, V)>>: Deserialize<Vec<(K, V)>, __D>,
[src]Deserializes using the given deserializer
impl<K: Hash + Eq + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]
impl<K: Hash + Eq + Archive + Clone, V: Archive> From<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]Performs the conversion.
impl<K: Hash + Eq + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]
impl<K: Hash + Eq + Archive + Clone, V: Archive> Into<IndexMap<K, V, RandomState>> for ArchivableIndexMap<K, V>
[src]Auto Trait Implementations
impl<K, V> RefUnwindSafe for ArchivableIndexMap<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivableIndexMap<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for ArchivableIndexMap<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for ArchivableIndexMap<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for ArchivableIndexMap<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.
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type.
pub fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
&mut MaybeUninit<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata>
)
[src]
pub fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
&mut MaybeUninit<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata>
)
[src]Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver,
out: &mut MaybeUninit<RelPtr<Self::Archived>>
)
[src]
fn resolve_unsized(
&self,
from: usize,
to: usize,
resolver: Self::MetadataResolver,
out: &mut MaybeUninit<RelPtr<Self::Archived>>
)
[src]Resolves a relative pointer to this value with the given from
and to
and writes it to
the given output. Read more
Mutably borrows from an owned value. Read more
Writes the object and returns the position of the archived type.
pub fn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
[src]
pub fn serialize_metadata(
&self,
&mut S
) -> Result<<<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, <S as Fallible>::Error>
[src]Serializes the metadata for the given type.