Enum rkyv::rel_ptr::OffsetError [−][src]
pub enum OffsetError { IsizeOverflow, ExceedsStorageRange, }
Expand description
An error where the distance between two positions cannot be represented by the offset type.
Variants
The offset overflowed the range of isize
The offset is too far for the offset type of the relative pointer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OffsetError
impl Send for OffsetError
impl Sync for OffsetError
impl Unpin for OffsetError
impl UnwindSafe for OffsetError
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
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,