pub enum DiagnosticDecodeReason {
CursorEmpty,
CursorTooLong,
CursorOddLength,
CursorInvalidHex,
CursorGroupedDirectionMismatch,
CursorTokenEncode,
CursorTokenDecode,
RecoveryMarkerMagic,
RecoveryMarkerChecksum,
RecoveryMarkerState,
}Expand description
Compact reason carried by DiagnosticFactTag::DecodeReason.
Values are global within that fact tag. They identify only bounded decode or validation categories and never retain rejected payload bytes.
Variants§
CursorEmpty
CursorTooLong
CursorOddLength
CursorInvalidHex
CursorGroupedDirectionMismatch
CursorTokenEncode
CursorTokenDecode
RecoveryMarkerMagic
RecoveryMarkerChecksum
RecoveryMarkerState
Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticDecodeReason
impl Clone for DiagnosticDecodeReason
Source§fn clone(&self) -> DiagnosticDecodeReason
fn clone(&self) -> DiagnosticDecodeReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DiagnosticDecodeReason
Source§impl Debug for DiagnosticDecodeReason
impl Debug for DiagnosticDecodeReason
impl Eq for DiagnosticDecodeReason
Source§impl Hash for DiagnosticDecodeReason
impl Hash for DiagnosticDecodeReason
Source§impl PartialEq for DiagnosticDecodeReason
impl PartialEq for DiagnosticDecodeReason
impl StructuralPartialEq for DiagnosticDecodeReason
Auto Trait Implementations§
impl Freeze for DiagnosticDecodeReason
impl RefUnwindSafe for DiagnosticDecodeReason
impl Send for DiagnosticDecodeReason
impl Sync for DiagnosticDecodeReason
impl Unpin for DiagnosticDecodeReason
impl UnsafeUnpin for DiagnosticDecodeReason
impl UnwindSafe for DiagnosticDecodeReason
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