[−][src]Enum rkyv::validation::ArchiveMemoryError
Errors that can occur related to archive memory.
Variants
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
Multiple objects claim to own the same memory region
Fields of ClaimOverlap
Trait Implementations
impl Debug for ArchiveMemoryError
[src]
impl Display for ArchiveMemoryError
[src]
impl Error for ArchiveMemoryError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<T> From<ArchiveMemoryError> for ArchivedRefError<T>
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
impl<T> From<ArchiveMemoryError> for ArchivedSliceError<T>
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
impl From<ArchiveMemoryError> for ArchivedStringSliceError
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
impl<K, V> From<ArchiveMemoryError> for ArchivedHashMapError<K, V>
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
impl<T> From<ArchiveMemoryError> for CheckArchiveError<T>
[src]
pub fn from(e: ArchiveMemoryError) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArchiveMemoryError
impl Send for ArchiveMemoryError
impl Sync for ArchiveMemoryError
impl Unpin for ArchiveMemoryError
impl UnwindSafe for ArchiveMemoryError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> 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>,