Enum rkyv::ser::serializers::BufferSerializerError [−][src]
pub enum BufferSerializerError { Overflow { pos: usize, bytes_needed: usize, archive_len: usize, }, SoughtPastEnd { seek_position: usize, archive_len: usize, }, }
The error type returned by an BufferSerializer
.
Variants
Writing has overflowed the internal buffer.
The serializer sought past the end of the internal buffer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BufferSerializerError
impl Send for BufferSerializerError
impl Sync for BufferSerializerError
impl Unpin for BufferSerializerError
impl UnwindSafe for BufferSerializerError
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
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]
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]Converts some archived metadata to the pointer metadata for itself.
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more