#[repr(u32)]pub enum ares_dns_parse_flags_t {
ARES_DNS_PARSE_AN_BASE_RAW = 1,
ARES_DNS_PARSE_NS_BASE_RAW = 2,
ARES_DNS_PARSE_AR_BASE_RAW = 4,
ARES_DNS_PARSE_AN_EXT_RAW = 8,
ARES_DNS_PARSE_NS_EXT_RAW = 16,
ARES_DNS_PARSE_AR_EXT_RAW = 32,
}
Expand description
Data type for flags to ares_dns_parse()
Variants§
ARES_DNS_PARSE_AN_BASE_RAW = 1
Parse Answers from RFC 1035 that allow name compression as RAW
ARES_DNS_PARSE_NS_BASE_RAW = 2
Parse Authority from RFC 1035 that allow name compression as RAW
ARES_DNS_PARSE_AR_BASE_RAW = 4
Parse Additional from RFC 1035 that allow name compression as RAW
ARES_DNS_PARSE_AN_EXT_RAW = 8
Parse Answers from later RFCs (no name compression) RAW
ARES_DNS_PARSE_NS_EXT_RAW = 16
Parse Authority from later RFCs (no name compression) as RAW
ARES_DNS_PARSE_AR_EXT_RAW = 32
Parse Additional from later RFCs (no name compression) as RAW
Trait Implementations§
source§impl Clone for ares_dns_parse_flags_t
impl Clone for ares_dns_parse_flags_t
source§fn clone(&self) -> ares_dns_parse_flags_t
fn clone(&self) -> ares_dns_parse_flags_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_parse_flags_t
impl Debug for ares_dns_parse_flags_t
source§impl Hash for ares_dns_parse_flags_t
impl Hash for ares_dns_parse_flags_t
source§impl PartialEq for ares_dns_parse_flags_t
impl PartialEq for ares_dns_parse_flags_t
source§fn eq(&self, other: &ares_dns_parse_flags_t) -> bool
fn eq(&self, other: &ares_dns_parse_flags_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ares_dns_parse_flags_t
impl Eq for ares_dns_parse_flags_t
impl StructuralPartialEq for ares_dns_parse_flags_t
Auto Trait Implementations§
impl Freeze for ares_dns_parse_flags_t
impl RefUnwindSafe for ares_dns_parse_flags_t
impl Send for ares_dns_parse_flags_t
impl Sync for ares_dns_parse_flags_t
impl Unpin for ares_dns_parse_flags_t
impl UnwindSafe for ares_dns_parse_flags_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