Enum rkyv::collections::hash_map::validation::HashMapError [−][src]
pub enum HashMapError<K, V, C> { HashIndexError(HashIndexError<C>), LayoutError(LayoutError), CheckEntryError(SliceCheckError<ArchivedHashMapEntryError<K, V>>), InvalidKeyPosition { index: usize, }, ContextError(C), }
Expand description
Errors that can occur while checking an archived hash map.
Variants
HashIndexError(HashIndexError<C>)
An error occured while checking the hash index
LayoutError(LayoutError)
An error occured while checking the layouts of displacements or entries
CheckEntryError(SliceCheckError<ArchivedHashMapEntryError<K, V>>)
An error occured while checking the entries
A key is not located at the correct position
Show fields
Fields of InvalidKeyPosition
index: usize
The index of the key when iterating
A bounds error occurred
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<K, V, C> RefUnwindSafe for HashMapError<K, V, C> where
C: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, C> Send for HashMapError<K, V, C> where
C: Send,
K: Send,
V: Send,
impl<K, V, C> Sync for HashMapError<K, V, C> where
C: Sync,
K: Sync,
V: Sync,
impl<K, V, C> Unpin for HashMapError<K, V, C> where
C: Unpin,
K: Unpin,
V: Unpin,
impl<K, V, C> UnwindSafe for HashMapError<K, V, C> where
C: UnwindSafe,
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.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,