#[non_exhaustive]#[repr(u8)]pub enum StdfErrorKind {
Show 15 variants
InvalidStdfFile = 1,
InvalidRecordType = 2,
Io = 3,
Eof = 4,
UnexpectedEof = 5,
NonAscii = 6,
InvalidAtdfFile = 7,
InvalidLength = 9,
CountMismatch = 10,
WidthMismatch = 11,
InvalidOptionalOrder = 12,
InvalidValue = 13,
RecordTooLarge = 14,
ByteOrderMismatch = 15,
Unknown = 255,
}Expand description
Category of an StdfError, returned by StdfError::kind.
#[non_exhaustive]: match arms must include a _ fallback.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidStdfFile = 1
InvalidRecordType = 2
Io = 3
Eof = 4
UnexpectedEof = 5
NonAscii = 6
InvalidAtdfFile = 7
InvalidLength = 9
CountMismatch = 10
WidthMismatch = 11
InvalidOptionalOrder = 12
InvalidValue = 13
RecordTooLarge = 14
ByteOrderMismatch = 15
Unknown = 255
Trait Implementations§
Source§impl Clone for StdfErrorKind
impl Clone for StdfErrorKind
impl Copy for StdfErrorKind
Source§impl Debug for StdfErrorKind
impl Debug for StdfErrorKind
impl Eq for StdfErrorKind
Source§impl PartialEq for StdfErrorKind
impl PartialEq for StdfErrorKind
impl StructuralPartialEq for StdfErrorKind
Auto Trait Implementations§
impl Freeze for StdfErrorKind
impl RefUnwindSafe for StdfErrorKind
impl Send for StdfErrorKind
impl Sync for StdfErrorKind
impl Unpin for StdfErrorKind
impl UnsafeUnpin for StdfErrorKind
impl UnwindSafe for StdfErrorKind
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