Enum rkyv::validation::ArchiveBoundsError [−][src]
Errors that can occur when checking a relative pointer
Variants
The archive is under-aligned for one of the types inside
Fields of Underaligned
A pointer pointed outside the bounds of the archive
Fields of OutOfBounds
There wasn’t enough space for the desired type at the pointed location
Fields of Overrun
The pointer wasn’t aligned properly for the desired type
Fields of Unaligned
Trait Implementations
impl Debug for ArchiveBoundsError
[src]
impl Display for ArchiveBoundsError
[src]
impl Error for ArchiveBoundsError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArchiveBoundsError
impl Send for ArchiveBoundsError
impl Sync for ArchiveBoundsError
impl Unpin for ArchiveBoundsError
impl UnwindSafe for ArchiveBoundsError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointee for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,