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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackingError
impl Debug for PackingError
Source§impl PartialEq for PackingError
impl PartialEq for PackingError
impl Copy for PackingError
impl Eq for PackingError
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 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