Enum domain::bits::parse::ParseError [−][src]
pub enum ParseError { UnexpectedEnd, UnknownLabel, FormErr, }
An error happening during parsing of wire-format DNS data.
Variants
UnexpectedEnd
The raw data ended unexpectedly in the middle of a structure.
UnknownLabel
An unknown label type was encountered in a domain name.
Several possible values for label types are not currently assigned (and likely never will). This is fatal since the label type defines how a label is parsed.
FormErr
A format error was encountered.
Trait Implementations
impl From<ParseError> for ComposeError
[src]
impl From<ParseError> for ComposeError
fn from(error: ParseError) -> ComposeError
[src]
fn from(error: ParseError) -> ComposeError
Performs the conversion.
impl Clone for ParseError
[src]
impl Clone for ParseError
fn clone(&self) -> ParseError
[src]
fn clone(&self) -> ParseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ParseError
[src]
impl Debug for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ParseError
[src]
impl PartialEq for ParseError
fn eq(&self, other: &ParseError) -> bool
[src]
fn eq(&self, other: &ParseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Error for ParseError
[src]
impl Error for ParseError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<ParseError> for Error
[src]
impl From<ParseError> for Error
fn from(err: ParseError) -> Error
[src]
fn from(err: ParseError) -> Error
Performs the conversion.
impl Display for ParseError
[src]
impl Display for ParseError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<ParseError> for Error
[src]
impl From<ParseError> for Error
fn from(error: ParseError) -> Error
[src]
fn from(error: ParseError) -> Error
Performs the conversion.
Auto Trait Implementations
impl Send for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Sync for ParseError