pub enum PackingError {
InvalidBufferSize,
}Expand description
An error from attempting to pack data into a buffer or from attempting to unpack data from a slice.
Variants§
InvalidBufferSize
The buffer to pack or unpack data from cannot be used as the data will not fit in the buffer.
Trait Implementations§
Source§impl Clone for PackingError
impl Clone for PackingError
Source§fn clone(&self) -> PackingError
fn clone(&self) -> PackingError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PackingError
Source§impl Debug for PackingError
impl Debug for PackingError
impl Eq for PackingError
Source§impl PartialEq for PackingError
impl PartialEq for PackingError
Source§fn eq(&self, other: &PackingError) -> bool
fn eq(&self, other: &PackingError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackingError
Auto Trait Implementations§
impl Freeze for PackingError
impl RefUnwindSafe for PackingError
impl Send for PackingError
impl Sync for PackingError
impl Unpin for PackingError
impl UnsafeUnpin for PackingError
impl UnwindSafe for PackingError
Blanket Implementations§
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