pub enum Error {
Show 16 variants
IO(Error),
InvalidVersion {
version: String,
},
InvalidFileType,
FailedHeaderOffsetParse,
FailedDelimiterParse,
MetadataOffsetMismatch,
FailedMetadataParse,
FailedIntParse(ParseIntError),
InvalidMetadata,
InvalidDataMode {
data_mode: String,
version: String,
},
InvalidDataType {
kind: String,
version: String,
},
MetadataKeyNotFound {
key: String,
},
NoDataFound,
InvalidParamBitLength {
bit_length: usize,
index: usize,
},
InvalidByteOrder {
byte_order: String,
},
FromUtf8Error(FromUtf8Error),
}
Expand description
FCS IO Error
Variants§
IO(Error)
InvalidVersion
InvalidFileType
FailedHeaderOffsetParse
FailedDelimiterParse
MetadataOffsetMismatch
FailedMetadataParse
FailedIntParse(ParseIntError)
InvalidMetadata
InvalidDataMode
InvalidDataType
MetadataKeyNotFound
NoDataFound
InvalidParamBitLength
InvalidByteOrder
FromUtf8Error(FromUtf8Error)
Trait Implementations§
Source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
Source§fn from(value: FromUtf8Error) -> Self
fn from(value: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
Source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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