Enum packed_struct::PackingError
[−]
[src]
pub enum PackingError { InvalidValue, BitsError, BufferTooSmall, NotImplemented, BufferSizeMismatch { expected: usize, actual: usize, }, }
Packing errors that might occur during packing or unpacking
Variants
InvalidValue
BitsError
BufferTooSmall
NotImplemented
BufferSizeMismatch
Fields of BufferSizeMismatch
expected: usize | |
actual: usize |
Trait Implementations
impl Debug for PackingError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for PackingError
[src]
impl Clone for PackingError
[src]
fn clone(&self) -> PackingError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for PackingError
[src]
fn eq(&self, __arg_0: &PackingError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PackingError) -> bool
[src]
This method tests for !=
.
impl Display for PackingError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more