Enum packed_struct::PackingError [−][src]
pub enum PackingError {
InvalidValue,
BitsError,
BufferTooSmall,
NotImplemented,
InstanceRequiredForSize,
MoreThanOneDynamicType,
BufferSizeMismatch {
expected: usize,
actual: usize,
},
BufferModMismatch {
actual_size: usize,
modulo_required: usize,
},
SliceIndexingError {
slice_len: usize,
},
InternalError,
}Expand description
Packing errors that might occur during packing or unpacking
Variants
Fields of SliceIndexingError
slice_len: usizeTrait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PackingError
impl Send for PackingError
impl Sync for PackingError
impl Unpin for PackingError
impl UnwindSafe for PackingError
Blanket Implementations
Mutably borrows from an owned value. Read more