pub enum AddressConfigValidationError {
MissingField(AddressConfigMissingFieldError),
InvalidField(Error),
Logical(<AddressConfigValidator as Validate<AddressConfig>>::Error),
}
Expand description
Errors validating AddressConfig
.
Variants§
MissingField(AddressConfigMissingFieldError)
Missing Field.
InvalidField(Error)
Invalid Field.
Logical(<AddressConfigValidator as Validate<AddressConfig>>::Error)
Custom validator error.
Trait Implementations§
Source§impl Debug for AddressConfigValidationError
impl Debug for AddressConfigValidationError
Source§impl Error for AddressConfigValidationError
impl Error for AddressConfigValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<<AddressConfigValidator as Validate<AddressConfig>>::Error> for AddressConfigValidationError
impl From<<AddressConfigValidator as Validate<AddressConfig>>::Error> for AddressConfigValidationError
Source§fn from(src: <AddressConfigValidator as Validate<AddressConfig>>::Error) -> Self
fn from(src: <AddressConfigValidator as Validate<AddressConfig>>::Error) -> Self
Converts to this type from the input type.
Source§impl From<AddressConfigMissingFieldError> for AddressConfigValidationError
impl From<AddressConfigMissingFieldError> for AddressConfigValidationError
Source§fn from(src: AddressConfigMissingFieldError) -> Self
fn from(src: AddressConfigMissingFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddressConfigValidationError
impl RefUnwindSafe for AddressConfigValidationError
impl Send for AddressConfigValidationError
impl Sync for AddressConfigValidationError
impl Unpin for AddressConfigValidationError
impl UnwindSafe for AddressConfigValidationError
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