Enum rkyv_dyn::validation::DynMetadataError[][src]

pub enum DynMetadataError {
    InvalidImplId(u64),
    MismatchedCachedVtable {
        type_id: u64,
        expected: usize,
        found: usize,
    },
}

Errors that can occur when checking archived trait objects

Variants

InvalidImplId(u64)

The trait object has an invalid type id

MismatchedCachedVtable

The cached vtable does not match the vtable for the type id

Show fields

Fields of MismatchedCachedVtable

type_id: u64

The type id of the trait object

expected: usize

The expected vtable

found: usize

The found vtable

Trait Implementations

impl Debug for DynMetadataError[src]

impl Display for DynMetadataError[src]

impl Error for DynMetadataError[src]

impl From<Unreachable> for DynMetadataError[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.