pub enum EmailError {
Invalid {
raw_email: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for EmailError
impl Clone for EmailError
Source§fn clone(&self) -> EmailError
fn clone(&self) -> EmailError
Returns a copy of the value. Read more
1.0.0 · 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 EmailError
impl Debug for EmailError
Source§impl Display for EmailError
impl Display for EmailError
Source§impl Error for EmailError
impl Error for EmailError
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 PartialEq for EmailError
impl PartialEq for EmailError
impl StructuralPartialEq for EmailError
Auto Trait Implementations§
impl Freeze for EmailError
impl RefUnwindSafe for EmailError
impl Send for EmailError
impl Sync for EmailError
impl Unpin for EmailError
impl UnwindSafe for EmailError
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