Enum rkyv_test::validation::CheckArchiveError
source · [−]pub enum CheckArchiveError<T, C> {
CheckBytesError(T),
ContextError(C),
}
Expand description
Errors that can occur when checking an archive.
Variants
CheckBytesError(T)
An error that occurred while validating an object
ContextError(C)
A context error occurred
Trait Implementations
sourceimpl<T: Debug, C: Debug> Debug for CheckArchiveError<T, C>
impl<T: Debug, C: Debug> Debug for CheckArchiveError<T, C>
sourceimpl<T: Display, C: Display> Display for CheckArchiveError<T, C>
impl<T: Display, C: Display> Display for CheckArchiveError<T, C>
sourceimpl<T: Error + 'static, C: Error + 'static> Error for CheckArchiveError<T, C>
impl<T: Error + 'static, C: Error + 'static> Error for CheckArchiveError<T, C>
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
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<T, C> RefUnwindSafe for CheckArchiveError<T, C>where
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> Send for CheckArchiveError<T, C>where
C: Send,
T: Send,
impl<T, C> Sync for CheckArchiveError<T, C>where
C: Sync,
T: Sync,
impl<T, C> Unpin for CheckArchiveError<T, C>where
C: Unpin,
T: Unpin,
impl<T, C> UnwindSafe for CheckArchiveError<T, C>where
C: UnwindSafe,
T: 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(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more