Enum c_ares_sys::ares_dns_section_t
source · #[repr(u32)]pub enum ares_dns_section_t {
ARES_SECTION_ANSWER = 1,
ARES_SECTION_AUTHORITY = 2,
ARES_SECTION_ADDITIONAL = 3,
}
Expand description
DNS RR Section type
Variants§
ARES_SECTION_ANSWER = 1
< Answer section
ARES_SECTION_AUTHORITY = 2
< Authority section
ARES_SECTION_ADDITIONAL = 3
< Additional information section
Trait Implementations§
source§impl Clone for ares_dns_section_t
impl Clone for ares_dns_section_t
source§fn clone(&self) -> ares_dns_section_t
fn clone(&self) -> ares_dns_section_t
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 ares_dns_section_t
impl Debug for ares_dns_section_t
source§impl Hash for ares_dns_section_t
impl Hash for ares_dns_section_t
source§impl PartialEq for ares_dns_section_t
impl PartialEq for ares_dns_section_t
source§fn eq(&self, other: &ares_dns_section_t) -> bool
fn eq(&self, other: &ares_dns_section_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ares_dns_section_t
impl Eq for ares_dns_section_t
impl StructuralPartialEq for ares_dns_section_t
Auto Trait Implementations§
impl Freeze for ares_dns_section_t
impl RefUnwindSafe for ares_dns_section_t
impl Send for ares_dns_section_t
impl Sync for ares_dns_section_t
impl Unpin for ares_dns_section_t
impl UnwindSafe for ares_dns_section_t
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