#[non_exhaustive]pub enum DataException {
Show 22 variants
DuplicateJsonObjectKeyValue,
InvalidArgumentForSqlJsonDatetimeFunction,
InvalidJsonText,
InvalidSqlJsonSubscript,
MoreThanOneSqlJsonItem,
NoSqlJsonItem,
NonNumericSqlJsonItem,
NonUniqueKeysInJsonObject,
SingletonSqlJsonItemRequired,
SqlJsonArrayNotFound,
SqlJsonMemberNotFound,
SqlJsonNumberNotFound,
SqlJsonObjectNotFound,
TooManyJsonArrayElements,
TooManyJsonObjectMembers,
SqlJsonScalarRequired,
FloatingPointException,
InvalidTextRepresentation,
InvalidBinaryRepresentation,
BadCopyFileFormat,
UntranslatableCharacter,
NonstandardUseOfEscapeCharacter,
}Available on crate feature
postgres only.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.
DuplicateJsonObjectKeyValue
InvalidArgumentForSqlJsonDatetimeFunction
InvalidJsonText
InvalidSqlJsonSubscript
MoreThanOneSqlJsonItem
NoSqlJsonItem
NonNumericSqlJsonItem
NonUniqueKeysInJsonObject
SingletonSqlJsonItemRequired
SqlJsonArrayNotFound
SqlJsonMemberNotFound
SqlJsonNumberNotFound
SqlJsonObjectNotFound
TooManyJsonArrayElements
TooManyJsonObjectMembers
SqlJsonScalarRequired
FloatingPointException
InvalidTextRepresentation
InvalidBinaryRepresentation
BadCopyFileFormat
UntranslatableCharacter
NonstandardUseOfEscapeCharacter
Implementations§
Trait Implementations§
Source§impl Clone for DataException
impl Clone for DataException
Source§fn clone(&self) -> DataException
fn clone(&self) -> DataException
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataException
impl Debug for DataException
Source§impl FromStr for DataException
impl FromStr for DataException
Source§impl Hash for DataException
impl Hash for DataException
Source§impl PartialEq for DataException
impl PartialEq for DataException
impl Eq for DataException
impl StructuralPartialEq for DataException
Auto Trait Implementations§
impl Freeze for DataException
impl RefUnwindSafe for DataException
impl Send for DataException
impl Sync for DataException
impl Unpin for DataException
impl UnwindSafe for DataException
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