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
An error occured while checking the hash index
Tuple Fields of HashIndexError
0: HashIndexError<C>
An error occured while checking the layouts of displacements or entries
Tuple Fields of LayoutError
0: LayoutError
An error occured while checking the entries
Tuple Fields of CheckEntryError
0: SliceCheckError<ArchivedHashMapEntryError<K, V>>
A key is not located at the correct position
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