Enum rkyv::collections::util::validation::ArchivedEntryError
source · [−]pub enum ArchivedEntryError<K, V> {
KeyCheckError(K),
ValueCheckError(V),
}
Expand description
Errors that can occur while checking an archived hash map entry.
Variants
KeyCheckError(K)
An error occurred while checking the bytes of a key
ValueCheckError(V)
An error occurred while checking the bytes of a value
Trait Implementations
sourceimpl<K: Debug, V: Debug> Debug for ArchivedEntryError<K, V>
impl<K: Debug, V: Debug> Debug for ArchivedEntryError<K, V>
sourceimpl<K: Display, V: Display> Display for ArchivedEntryError<K, V>
impl<K: Display, V: Display> Display for ArchivedEntryError<K, V>
sourceimpl<K: Error + 'static, V: Error + 'static> Error for ArchivedEntryError<K, V>
impl<K: Error + 'static, V: Error + 'static> Error for ArchivedEntryError<K, V>
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations
impl<K, V> RefUnwindSafe for ArchivedEntryError<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for ArchivedEntryError<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for ArchivedEntryError<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for ArchivedEntryError<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for ArchivedEntryError<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
fn pointer_metadata(_: &Self::ArchivedMetadata) -> <Self as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
sourceimpl<T> LayoutRaw for T
impl<T> LayoutRaw for T
sourcefn layout_raw(_: *const Self) -> Layout
fn layout_raw(_: *const Self) -> Layout
Gets the layout of the type.