Enum rkyv::std_impl::chd::validation::HashMapError [−][src]
Errors that can occur while checking an archived hash map.
Variants
LayoutError(LayoutErr)
An error occured while checking the layouts of displacements or entries
CheckDisplaceError(SliceCheckError<Unreachable>)
An error occured while checking the displacements
CheckEntryError(SliceCheckError<ArchivedHashMapEntryError<K, V>>)
An error occured while checking the entries
A displacement value was invalid
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
impl<K: Debug, V: Debug, C: Debug> Debug for HashMapError<K, V, C>
[src]
impl<K: Display, V: Display, E: Display> Display for HashMapError<K, V, E>
[src]
impl<K: Error + 'static, V: Error + 'static, C: Error + 'static> Error for HashMapError<K, V, C>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<K, V, C> From<LayoutError> for HashMapError<K, V, C>
[src]
impl<K, V, C> From<SliceCheckError<ArchivedHashMapEntryError<K, V>>> for HashMapError<K, V, C>
[src]
fn from(e: SliceCheckError<ArchivedHashMapEntryError<K, V>>) -> Self
[src]
impl<K, V, C> From<SliceCheckError<Unreachable>> for HashMapError<K, V, C>
[src]
fn from(e: SliceCheckError<Unreachable>) -> Self
[src]
impl<K, V, C> From<Unreachable> for HashMapError<K, V, C>
[src]
fn from(_: Unreachable) -> Self
[src]
Auto Trait Implementations
impl<K, V, C> RefUnwindSafe for HashMapError<K, V, C> where
C: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
C: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, C> Send for HashMapError<K, V, C> where
C: Send,
K: Send,
V: Send,
C: Send,
K: Send,
V: Send,
impl<K, V, C> Sync for HashMapError<K, V, C> where
C: Sync,
K: Sync,
V: Sync,
C: Sync,
K: Sync,
V: Sync,
impl<K, V, C> Unpin for HashMapError<K, V, C> where
C: Unpin,
K: Unpin,
V: Unpin,
C: Unpin,
K: Unpin,
V: Unpin,
impl<K, V, C> UnwindSafe for HashMapError<K, V, C> where
C: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
C: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ArchivePointee for T
[src]
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointee for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,