#[repr(u8)]pub enum DnsResponseCode {
NoError = 0,
FormatError = 1,
ServerFailure = 2,
NameError = 3,
NotImplemented = 4,
Refused = 5,
}Expand description
DNS response codes (RCODE)
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DnsResponseCode
impl Clone for DnsResponseCode
Source§fn clone(&self) -> DnsResponseCode
fn clone(&self) -> DnsResponseCode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DnsResponseCode
impl Debug for DnsResponseCode
Source§impl PartialEq for DnsResponseCode
impl PartialEq for DnsResponseCode
impl Copy for DnsResponseCode
impl Eq for DnsResponseCode
impl StructuralPartialEq for DnsResponseCode
Auto Trait Implementations§
impl Freeze for DnsResponseCode
impl RefUnwindSafe for DnsResponseCode
impl Send for DnsResponseCode
impl Sync for DnsResponseCode
impl Unpin for DnsResponseCode
impl UnwindSafe for DnsResponseCode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)