pub enum KeyError {
Short {
record: usize,
length: usize,
},
Data {
record: usize,
key: usize,
check: ProgramCheck,
},
}Expand description
Why a record’s keys could not be read.
Variants§
Short
Record record ends inside a key.
Data
Under strict reading, key key of record record is not valid data for its format.
Trait Implementations§
impl Copy for KeyError
impl Eq for KeyError
impl StructuralPartialEq for KeyError
Auto Trait Implementations§
impl Freeze for KeyError
impl RefUnwindSafe for KeyError
impl Send for KeyError
impl Sync for KeyError
impl Unpin for KeyError
impl UnsafeUnpin for KeyError
impl UnwindSafe for KeyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more