pub enum ErrorType {
Regex(RegexError),
Length(LengthError),
Range(RangeError),
Model(ModelValidatorError),
Enumer(EnumError),
Value,
Other,
}
Variants§
Regex(RegexError)
Length(LengthError)
Range(RangeError)
Model(ModelValidatorError)
Enumer(EnumError)
Value
Other
Trait Implementations§
Source§impl From<LengthError> for ErrorType
impl From<LengthError> for ErrorType
Source§fn from(value: LengthError) -> Self
fn from(value: LengthError) -> Self
Converts to this type from the input type.
Source§impl From<ModelValidatorError> for ErrorType
impl From<ModelValidatorError> for ErrorType
Source§fn from(value: ModelValidatorError) -> Self
fn from(value: ModelValidatorError) -> Self
Converts to this type from the input type.
Source§impl From<RangeError> for ErrorType
impl From<RangeError> for ErrorType
Source§fn from(value: RangeError) -> Self
fn from(value: RangeError) -> Self
Converts to this type from the input type.
Source§impl From<RegexError> for ErrorType
impl From<RegexError> for ErrorType
Source§fn from(value: RegexError) -> Self
fn from(value: RegexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ErrorType
impl RefUnwindSafe for ErrorType
impl Send for ErrorType
impl Sync for ErrorType
impl Unpin for ErrorType
impl UnwindSafe for ErrorType
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