pub struct KeyError {
pub byte: u8,
pub error_code: ErrorCodes,
}Fields§
§byte: u8The byte being processed when the error occurred. Do not depend on this field as it can vary wildly because not all characters occupy a single byte in memory. Rather this should be used as a context clue to help determine the issue.
error_code: ErrorCodesType of error that occurred.
Trait Implementations§
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