pub enum AddressCountryCodeError {
Empty,
InvalidLength,
InvalidCharacter,
}Variants§
Trait Implementations§
Source§impl Clone for AddressCountryCodeError
impl Clone for AddressCountryCodeError
Source§fn clone(&self) -> AddressCountryCodeError
fn clone(&self) -> AddressCountryCodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressCountryCodeError
impl Debug for AddressCountryCodeError
Source§impl Display for AddressCountryCodeError
impl Display for AddressCountryCodeError
Source§impl Error for AddressCountryCodeError
impl Error for AddressCountryCodeError
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<AddressCountryCodeError> for AddressError
impl From<AddressCountryCodeError> for AddressError
Source§fn from(value: AddressCountryCodeError) -> Self
fn from(value: AddressCountryCodeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddressCountryCodeError
impl PartialEq for AddressCountryCodeError
Source§fn eq(&self, other: &AddressCountryCodeError) -> bool
fn eq(&self, other: &AddressCountryCodeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AddressCountryCodeError
impl Eq for AddressCountryCodeError
impl StructuralPartialEq for AddressCountryCodeError
Auto Trait Implementations§
impl Freeze for AddressCountryCodeError
impl RefUnwindSafe for AddressCountryCodeError
impl Send for AddressCountryCodeError
impl Sync for AddressCountryCodeError
impl Unpin for AddressCountryCodeError
impl UnsafeUnpin for AddressCountryCodeError
impl UnwindSafe for AddressCountryCodeError
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