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
InvalidValueBitsErrorBufferTooSmallNotImplementedBufferSizeMismatchFields of BufferSizeMismatch
expected: usize | |
actual: usize |
Trait Implementations
impl Debug for PackingError[src]
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