Enum openalias::Error
[−]
[src]
pub enum Error { Oa1Parse(ParseError), Io(IoError), Utf8Parse(FromUtf8Error), AddressParse, }
Some error emerging from the library.
Variants
Oa1Parse(ParseError)
Error parsing an OA1 record.
Io(IoError)
Error with conversing with DNS server.
Utf8Parse(FromUtf8Error)
TXT record not UTF8 (ASCII).
AddressParse
Non-FQDN address passed to address*()
.
Trait Implementations
impl Debug for Error
[src]
impl From<ParseError> for Error
[src]
fn from(pe: ParseError) -> Error
[src]
Performs the conversion.
impl From<IoError> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(u8e: FromUtf8Error) -> Error
[src]
Performs the conversion.
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more