Enum dnstplib::RequestError
source · #[repr(u8)]pub enum RequestError {
NoHandshake = 0,
WrongNumberOfQuestions = 1,
CryptoFailure = 2,
}
Variants§
NoHandshake = 0
Trying to perform an operation without having handshaked first
WrongNumberOfQuestions = 1
CryptoFailure = 2
Trait Implementations§
source§impl Clone for RequestError
impl Clone for RequestError
source§fn clone(&self) -> RequestError
fn clone(&self) -> RequestError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RequestError
impl Debug for RequestError
source§impl PartialEq for RequestError
impl PartialEq for RequestError
source§fn eq(&self, other: &RequestError) -> bool
fn eq(&self, other: &RequestError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RequestError
impl Eq for RequestError
impl StructuralPartialEq for RequestError
Auto Trait Implementations§
impl Freeze for RequestError
impl RefUnwindSafe for RequestError
impl Send for RequestError
impl Sync for RequestError
impl Unpin for RequestError
impl UnwindSafe for RequestError
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