#[non_exhaustive]#[repr(C)]pub enum DataError {
Unknown = 0,
MarkerNotFound = 1,
IdentifierNotFound = 2,
InvalidRequest = 3,
InconsistentData = 4,
Downcast = 5,
Deserialize = 6,
Custom = 7,
Io = 8,
}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.
Unknown = 0
MarkerNotFound = 1
IdentifierNotFound = 2
InvalidRequest = 3
InconsistentData = 4
Downcast = 5
Deserialize = 6
Custom = 7
Io = 8
Trait Implementations§
impl Copy for DataError
impl Eq for DataError
impl StructuralPartialEq for DataError
Auto Trait Implementations§
impl Freeze for DataError
impl RefUnwindSafe for DataError
impl Send for DataError
impl Sync for DataError
impl Unpin for DataError
impl UnsafeUnpin for DataError
impl UnwindSafe for DataError
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