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]

[src]

Formats the value using the given formatter.

impl Copy for PackingError
[src]

impl Clone for PackingError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for PackingError
[src]

[src]

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

[src]

This method tests for !=.