Enum sawp_dns::header::header_masks
source · #[repr(u16)]
pub enum header_masks {
QUERY_RESPONSE,
OPCODE,
AUTH,
TRUNC,
RECUR_DESIRED,
RECUR_AVAIL,
Z,
AUTH_DATA,
CHECK_DISABLED,
RCODE,
}
Expand description
Masks for extracting DNS header flags
Variants§
Trait Implementations§
source§impl Binary for header_masks
impl Binary for header_masks
source§impl BitAnd<header_masks> for header_masks
impl BitAnd<header_masks> for header_masks
source§impl BitOr<header_masks> for header_masks
impl BitOr<header_masks> for header_masks
source§impl BitXor<header_masks> for header_masks
impl BitXor<header_masks> for header_masks
source§impl Clone for header_masks
impl Clone for header_masks
source§fn clone(&self) -> header_masks
fn clone(&self) -> header_masks
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 header_masks
impl Debug for header_masks
source§impl Display for header_masks
impl Display for header_masks
source§impl Flag for header_masks
impl Flag for header_masks
source§impl FromStr for header_masks
impl FromStr for header_masks
source§impl Not for header_masks
impl Not for header_masks
source§impl PartialEq<Flags<header_masks, <header_masks as Flag>::Primitive>> for header_masks
impl PartialEq<Flags<header_masks, <header_masks as Flag>::Primitive>> for header_masks
source§impl PartialEq<header_masks> for header_masks
impl PartialEq<header_masks> for header_masks
source§fn eq(&self, other: &header_masks) -> bool
fn eq(&self, other: &header_masks) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.