pub enum Code {
Show 21 variants
Required,
NullNotAllowed,
TypeMismatch,
OutOfRange,
UnsafeInteger,
IntegerTooWide,
NotFinite,
TooShort,
TooLong,
TooFewItems,
TooManyItems,
NotInEnum,
InvalidFormat,
InvalidDate,
InvalidDateTime,
MissingTimezone,
UnknownField,
UnknownVariant,
DepthExceeded,
SizeExceeded,
UnknownType,
}Variants§
Required
NullNotAllowed
TypeMismatch
OutOfRange
UnsafeInteger
IntegerTooWide
NotFinite
TooShort
TooLong
TooFewItems
TooManyItems
NotInEnum
InvalidFormat
The string did not have the shape its @format names.
InvalidDate
InvalidDateTime
MissingTimezone
UnknownField
UnknownVariant
The tag named a variant the union does not declare.
DepthExceeded
SizeExceeded
UnknownType
Implementations§
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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