Enum fast_chemail::ParseError
[−]
[src]
pub enum ParseError { NoLocalPart, NoDomainPart, NoSignAt, TooAt, LocalTooLong, DomainTooLong, LabelTooLong, LocalStartPeriod, LocalEndPeriod, DomainStartPeriod, DomainEndPeriod, ConsecutivePeriod, NoPeriodDomain, Ascii(AsciiError), WrongCharLocal(char), WrongCharDomain(char), WrongStartLabel(char), WrongEndLabel(char), }
Variants
NoLocalPart
NoDomainPart
NoSignAt
TooAt
LocalTooLong
DomainTooLong
LabelTooLong
LocalStartPeriod
LocalEndPeriod
DomainStartPeriod
DomainEndPeriod
ConsecutivePeriod
NoPeriodDomain
Ascii(AsciiError)
WrongCharLocal(char)
WrongCharDomain(char)
WrongStartLabel(char)
WrongEndLabel(char)
Trait Implementations
impl Debug for ParseError
[src]
impl PartialEq for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseError) -> bool
This method tests for !=
.
impl Eq for ParseError
[src]
impl From<AsciiError> for ParseError
[src]
fn from(err: AsciiError) -> ParseError
Performs the conversion.
impl Error for ParseError
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
fn description(&self) -> &str
A short description of the error. Read more