Enum rkyv::std_impl::shared::validation::WeakPointerError[][src]

pub enum WeakPointerError<T, R, C> {
    InvalidTag(u8),
    CheckBytes(SharedPointerError<T, R, C>),
}

Errors that can occur while checking archived weak pointers.

Variants

InvalidTag(u8)

The weak pointer had an invalid tag

CheckBytes(SharedPointerError<T, R, C>)

An error occurred while checking the underlying shared pointer

Trait Implementations

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

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

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

impl<T, R, C> From<Unreachable> for WeakPointerError<T, R, C>[src]

Auto Trait Implementations

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

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

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

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

impl<T, R, C> UnwindSafe for WeakPointerError<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.