pub enum SbdfError {
Show 26 variants
InvalidBytes,
InvalidInt,
InvalidLong,
InvalidFloat,
InvalidDouble,
InvalidString,
InvalidBool,
InvalidSectionId {
section_id: u8,
},
WrongSectionId {
expected: SectionId,
actual: SectionId,
},
MagicNumberMismatch,
UnsupportedVersion {
major_version: u8,
minor_version: u8,
},
InvalidSize,
MetadataValueArrayLengthMustBeZeroOrOne,
InvalidValueType,
UnknownTypeId,
InvalidObject,
InvalidMetadata,
ColumnCountMismatch,
InvalidEncoding,
StringTooLong,
BytesTooLong,
TooManyColumns,
TooManyMetadata,
TooManyProperties,
TooManyValuesInArray,
InvalidRunLengthEncodedObject,
}
Variants§
InvalidBytes
InvalidInt
InvalidLong
InvalidFloat
InvalidDouble
InvalidString
InvalidBool
InvalidSectionId
WrongSectionId
MagicNumberMismatch
UnsupportedVersion
InvalidSize
MetadataValueArrayLengthMustBeZeroOrOne
InvalidValueType
UnknownTypeId
InvalidObject
InvalidMetadata
ColumnCountMismatch
InvalidEncoding
StringTooLong
BytesTooLong
TooManyColumns
TooManyMetadata
TooManyProperties
TooManyValuesInArray
InvalidRunLengthEncodedObject
Trait Implementations§
Source§impl Error for SbdfError
impl Error for SbdfError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SbdfError
impl RefUnwindSafe for SbdfError
impl Send for SbdfError
impl Sync for SbdfError
impl Unpin for SbdfError
impl UnwindSafe for SbdfError
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