Enum rkyv::std_impl::validation::OwnedPointerError[][src]

pub enum OwnedPointerError<T, R, C> {
    PointerCheckBytesError(T),
    ValueCheckBytesError(R),
    ContextError(C),
}

Errors that can occur while chechking archived owned pointers

Variants

PointerCheckBytesError(T)

The pointer failed to validate due to invalid metadata.

ValueCheckBytesError(R)

The value pointed to by the owned pointer was invalid.

ContextError(C)

An error occurred from the validation context.

Trait Implementations

impl<T: Debug, R: Debug, C: Debug> Debug for OwnedPointerError<T, R, C>[src]

impl<T: Display, R: Display, C: Display> Display for OwnedPointerError<T, R, C>[src]

impl<T: Error + 'static, R: Error + 'static, C: Error + 'static> Error for OwnedPointerError<T, R, C>[src]

Auto Trait Implementations

impl<T, R, C> RefUnwindSafe for OwnedPointerError<T, R, C> where
    C: RefUnwindSafe,
    R: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, R, C> Send for OwnedPointerError<T, R, C> where
    C: Send,
    R: Send,
    T: Send

impl<T, R, C> Sync for OwnedPointerError<T, R, C> where
    C: Sync,
    R: Sync,
    T: Sync

impl<T, R, C> Unpin for OwnedPointerError<T, R, C> where
    C: Unpin,
    R: Unpin,
    T: Unpin

impl<T, R, C> UnwindSafe for OwnedPointerError<T, R, C> where
    C: UnwindSafe,
    R: UnwindSafe,
    T: UnwindSafe

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.