Enum flex_dns::header::DnsHeaderKind
source · pub enum DnsHeaderKind {
Query,
Response,
}Expand description
The kind of a DNS header.
Variants§
Trait Implementations§
source§impl Clone for DnsHeaderKind
impl Clone for DnsHeaderKind
source§fn clone(&self) -> DnsHeaderKind
fn clone(&self) -> DnsHeaderKind
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 DnsHeaderKind
impl Debug for DnsHeaderKind
source§impl PartialEq<DnsHeaderKind> for DnsHeaderKind
impl PartialEq<DnsHeaderKind> for DnsHeaderKind
source§fn eq(&self, other: &DnsHeaderKind) -> bool
fn eq(&self, other: &DnsHeaderKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for DnsHeaderKind
impl StructuralPartialEq for DnsHeaderKind
Auto Trait Implementations§
impl RefUnwindSafe for DnsHeaderKind
impl Send for DnsHeaderKind
impl Sync for DnsHeaderKind
impl Unpin for DnsHeaderKind
impl UnwindSafe for DnsHeaderKind
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