pub enum InputValidationError {
InvalidCountryCode(String),
InvalidRegionCode(String),
UnexpectedRegionCode(String),
}Variants§
Trait Implementations§
Source§impl Debug for InputValidationError
impl Debug for InputValidationError
Source§impl Display for InputValidationError
impl Display for InputValidationError
Source§impl Error for InputValidationError
impl Error for InputValidationError
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<InputValidationError> for ProcessingError
impl From<InputValidationError> for ProcessingError
Source§fn from(err: InputValidationError) -> Self
fn from(err: InputValidationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InputValidationError
impl RefUnwindSafe for InputValidationError
impl Send for InputValidationError
impl Sync for InputValidationError
impl Unpin for InputValidationError
impl UnsafeUnpin for InputValidationError
impl UnwindSafe for InputValidationError
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