pub enum DataError {
NumberMinValueEqualToMaxValue,
NumberMinValueGreaterThanMaxValue,
InvalidTextLength(InvalidTextLength),
TextMinLengthIsGreaterThanMaxLength,
FormatViolation(FormatViolation),
UnsignedIntegerCapacityExceeded(UnsignedIntegerCapacityExceeded),
NumberMinValueViolation(NumberMinValueViolation),
NumberMaxValueViolation(NumberMaxValueViolation),
TextLengthViolation(TextLengthViolation),
}Expand description
Error about defining, encoding or decoding data
Variants§
NumberMinValueEqualToMaxValue
NumberMinValueGreaterThanMaxValue
InvalidTextLength(InvalidTextLength)
TextMinLengthIsGreaterThanMaxLength
FormatViolation(FormatViolation)
UnsignedIntegerCapacityExceeded(UnsignedIntegerCapacityExceeded)
NumberMinValueViolation(NumberMinValueViolation)
NumberMaxValueViolation(NumberMaxValueViolation)
TextLengthViolation(TextLengthViolation)
Trait Implementations§
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 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