[−][src]Struct dns_message_parser::Flags
Methods
impl Flags
[src]
impl Flags
[src]
pub fn get_qr(&self) -> &bool
[src]
pub fn get_opcode(&self) -> &Opcode
[src]
pub fn get_aa(&self) -> &bool
[src]
pub fn get_tc(&self) -> &bool
[src]
pub fn get_rd(&self) -> &bool
[src]
pub fn get_ra(&self) -> &bool
[src]
pub fn get_ad(&self) -> &bool
[src]
pub fn get_cd(&self) -> &bool
[src]
pub fn get_rcode(&self) -> &RCode
[src]
impl Flags
[src]
pub fn new(
qr: bool,
opcode: Opcode,
aa: bool,
tc: bool,
rd: bool,
ra: bool,
ad: bool,
cd: bool,
rcode: RCode
) -> Flags
[src]
qr: bool,
opcode: Opcode,
aa: bool,
tc: bool,
rd: bool,
ra: bool,
ad: bool,
cd: bool,
rcode: RCode
) -> Flags
impl Flags
[src]
Trait Implementations
impl Debug for Flags
[src]
impl PartialEq<Flags> for Flags
[src]
impl StructuralPartialEq for Flags
[src]
Auto Trait Implementations
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,