Enum rkyv::ser::serializers::BufferSerializerError
source · pub enum BufferSerializerError {
Overflow {
pos: usize,
bytes_needed: usize,
archive_len: usize,
},
}
Expand description
The error type returned by an BufferSerializer
.
Variants§
Overflow
Writing has overflowed the internal buffer.
Trait Implementations§
source§impl Debug for BufferSerializerError
impl Debug for BufferSerializerError
source§impl Display for BufferSerializerError
impl Display for BufferSerializerError
source§impl Error for BufferSerializerError
impl Error for BufferSerializerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for BufferSerializerError
impl RefUnwindSafe for BufferSerializerError
impl Send for BufferSerializerError
impl Sync for BufferSerializerError
impl Unpin for BufferSerializerError
impl UnwindSafe for BufferSerializerError
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more