pub enum AddrSpecError<'hdr> {
NoAssociatedLocalPart,
NoAssociatedDomain,
NoAssociatedAddrSpec,
ParsingDetailed(ParsingDetail<'hdr>),
ParseComment(CommentError<'hdr>),
ParseDisplayName(QuotedError<'hdr>),
}Expand description
Addr-Spec parsing errors
Variants§
NoAssociatedLocalPart
Local part not found
NoAssociatedDomain
Domain not found
NoAssociatedAddrSpec
None found
ParsingDetailed(ParsingDetail<'hdr>)
Detailed with ParsingDetail
ParseComment(CommentError<'hdr>)
Parsing failed at comment
ParseDisplayName(QuotedError<'hdr>)
Parsing display name failed
Trait Implementations§
Source§impl<'hdr> Clone for AddrSpecError<'hdr>
impl<'hdr> Clone for AddrSpecError<'hdr>
Source§fn clone(&self) -> AddrSpecError<'hdr>
fn clone(&self) -> AddrSpecError<'hdr>
Returns a duplicate 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<'hdr> Debug for AddrSpecError<'hdr>
impl<'hdr> Debug for AddrSpecError<'hdr>
Source§impl<'hdr> PartialEq for AddrSpecError<'hdr>
impl<'hdr> PartialEq for AddrSpecError<'hdr>
impl<'hdr> StructuralPartialEq for AddrSpecError<'hdr>
Auto Trait Implementations§
impl<'hdr> Freeze for AddrSpecError<'hdr>
impl<'hdr> RefUnwindSafe for AddrSpecError<'hdr>
impl<'hdr> Send for AddrSpecError<'hdr>
impl<'hdr> Sync for AddrSpecError<'hdr>
impl<'hdr> Unpin for AddrSpecError<'hdr>
impl<'hdr> UnwindSafe for AddrSpecError<'hdr>
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