Enum rkyv::rc::validation::WeakPointerError [−][src]
pub enum WeakPointerError<T, R, C> {
InvalidTag(u8),
CheckBytes(SharedPointerError<T, R, C>),
}
Expand description
Errors that can occur while checking archived weak pointers.
Variants
The weak pointer had an invalid tag
Tuple Fields of InvalidTag
0: u8
An error occurred while checking the underlying shared pointer
Tuple Fields of CheckBytes
0: SharedPointerError<T, R, C>
Trait Implementations
Performs the conversion.
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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more