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
Show fields
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 PackingErrorimpl Send for PackingErrorimpl Sync for PackingErrorimpl Unpin for PackingErrorimpl UnwindSafe for PackingErrorBlanket Implementations
Mutably borrows from an owned value. Read more