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

Fields of BufferSizeMismatch

Trait Implementations

impl Debug for PackingError
[src]

Formats the value using the given formatter. Read more

impl Copy for PackingError
[src]

impl Clone for PackingError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PackingError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for PackingError
[src]

Formats the value using the given formatter. Read more

impl Error for PackingError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations