pub enum DnsOpcode {
Query,
IQuery,
Status,
Notify,
Update,
}Expand description
DNS header opcodes.
Variants§
Query
Standard query.
IQuery
Inverse query (obsolete).
Status
Name server status query.
Notify
Zone change notification (RFC 1996).
Update
Zone update message (RFC 2136).
Trait Implementations§
impl Copy for DnsOpcode
impl Eq for DnsOpcode
Source§impl From<DnsOpcode> for ares_dns_opcode_t
impl From<DnsOpcode> for ares_dns_opcode_t
Source§impl From<ares_dns_opcode_t> for DnsOpcode
impl From<ares_dns_opcode_t> for DnsOpcode
Source§fn from(val: ares_dns_opcode_t) -> Self
fn from(val: ares_dns_opcode_t) -> Self
Converts to this type from the input type.
Source§impl Ord for DnsOpcode
impl Ord for DnsOpcode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DnsOpcode
impl PartialOrd for DnsOpcode
impl StructuralPartialEq for DnsOpcode
Auto Trait Implementations§
impl Freeze for DnsOpcode
impl RefUnwindSafe for DnsOpcode
impl Send for DnsOpcode
impl Sync for DnsOpcode
impl Unpin for DnsOpcode
impl UnsafeUnpin for DnsOpcode
impl UnwindSafe for DnsOpcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more