Struct dns_message_parser::Flags
source · [−]pub struct Flags {
pub qr: bool,
pub opcode: Opcode,
pub aa: bool,
pub tc: bool,
pub rd: bool,
pub ra: bool,
pub ad: bool,
pub cd: bool,
pub rcode: RCode,
}
Fields
qr: bool
opcode: Opcode
aa: bool
tc: bool
rd: bool
ra: bool
ad: bool
cd: bool
rcode: RCode
Implementations
Trait Implementations
impl Eq for Flags
impl StructuralEq for Flags
impl StructuralPartialEq for Flags
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more