pub enum DnsMessageParserError {
SimpleError {
cause: String,
},
TrustDnsError {
source: ProtoError,
},
Utf8ParsingError {
source: Utf8Error,
},
}
Expand description
Error type for DNS message parsing
Variants§
Trait Implementations§
source§impl Debug for DnsMessageParserError
impl Debug for DnsMessageParserError
source§impl Display for DnsMessageParserError
impl Display for DnsMessageParserError
source§impl Error for DnsMessageParserError
impl Error for DnsMessageParserError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl Freeze for DnsMessageParserError
impl !RefUnwindSafe for DnsMessageParserError
impl Send for DnsMessageParserError
impl Sync for DnsMessageParserError
impl Unpin for DnsMessageParserError
impl !UnwindSafe for DnsMessageParserError
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