Enum rkyv_dyn::validation::CheckDynError[][src]

pub enum CheckDynError {
    InvalidMetadata(u64),
    CheckBytes(Box<dyn Error>),
}

Errors that can occur when checking archived trait objects

Variants

InvalidMetadata(u64)

The pointer metadata did not match any registered impl

CheckBytes(Box<dyn Error>)

An error occurred while checking the bytes of the trait object

Trait Implementations

impl Debug for CheckDynError[src]

impl Display for CheckDynError[src]

impl Error for CheckDynError[src]

impl From<Box<dyn Error + 'static, Global>> for CheckDynError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ArchivePointee for T[src]

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Metadata = ()

The type for metadata in pointers and references to Self.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.