pub enum DnsError {
Encode,
Decode,
FormatError,
ServerFailure,
NameError,
NotImplemented,
Refused,
}Expand description
An error related to the DNS message itself.
Variants§
Encode
Error encoding the message.
Decode
Error decoding the message.
FormatError
Message format error.
ServerFailure
Failure occured on server.
NameError
Error in name.
NotImplemented
Functionality not supported.
Refused
Request refused.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnsError
impl RefUnwindSafe for DnsError
impl Send for DnsError
impl Sync for DnsError
impl Unpin for DnsError
impl UnwindSafe for DnsError
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