[−][src]Enum rkyv::std_impl::hashbrown::validation::ArchivedHashMapError
Errors that can occur while checking an ArchivedHashMap
.
Variants
The number of items the hashmap claims to have doesn't match the actual number of items as indicated by the control bytes.
Fields of InvalidItemCount
MemoryError(ArchiveMemoryError)
A memory error occurred
BucketError(ArchivedBucketError<K, V>)
An error occured while checking the bytes of a bucket
A key is placed in the wrong bucket
Fields of IncorrectKeyHash
index: usize
The index of the key when iterating
Trait Implementations
impl<K: Debug, V: Debug> Debug for ArchivedHashMapError<K, V>
[src]
impl<K: Display, V: Display> Display for ArchivedHashMapError<K, V>
[src]
impl<K: Debug + Display, V: Debug + Display> Error for ArchivedHashMapError<K, V>
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[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> From<ArchiveMemoryError> for ArchivedHashMapError<K, V>
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
impl<K, V> From<ArchivedBucketError<K, V>> for ArchivedHashMapError<K, V>
[src]
pub fn from(e: ArchivedBucketError<K, V>) -> Self
[src]
impl<K, V> From<Unreachable> for ArchivedHashMapError<K, V>
[src]
pub fn from(_: Unreachable) -> Self
[src]
Auto Trait Implementations
impl<K, V> RefUnwindSafe for ArchivedHashMapError<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivedHashMapError<K, V> where
K: Send,
V: Send,
K: Send,
V: Send,
impl<K, V> Sync for ArchivedHashMapError<K, V> where
K: Sync,
V: Sync,
K: Sync,
V: Sync,
impl<K, V> Unpin for ArchivedHashMapError<K, V> where
K: Unpin,
V: Unpin,
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for ArchivedHashMapError<K, V> where
K: UnwindSafe,
V: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,