Enum rkyv::validation::ArchiveBoundsError [−][src]
pub enum ArchiveBoundsError { Underaligned { expected_align: usize, actual_align: usize, }, OutOfBounds { base: usize, offset: isize, archive_len: usize, }, Overrun { pos: usize, size: usize, archive_len: usize, }, Unaligned { pos: usize, align: usize, }, }
Errors that can occur when checking a relative pointer
Variants
The archive is under-aligned for one of the types inside
Show fields
A pointer pointed outside the bounds of the archive
Show fields
There wasn’t enough space for the desired type at the pointed location
Show fields
The pointer wasn’t aligned properly for the desired type
Show fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArchiveBoundsError
impl RefUnwindSafe for ArchiveBoundsError
impl Send for ArchiveBoundsError
impl Send for ArchiveBoundsError
impl Sync for ArchiveBoundsError
impl Sync for ArchiveBoundsError
impl Unpin for ArchiveBoundsError
impl Unpin for ArchiveBoundsError
impl UnwindSafe for ArchiveBoundsError
impl UnwindSafe for ArchiveBoundsError
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata