pub struct Flags(pub u16);
Tuple Fields
0: u16
Implementations
sourceimpl Flags
impl Flags
pub fn question_response(&self) -> bool
pub fn operation_code(&self) -> u16
pub fn truncation_occurred(&self) -> bool
pub fn recursion_desired(&self) -> bool
pub fn recursion_available(&self) -> bool
pub fn must_be_zero(&self) -> bool
pub fn authentic_data(&self) -> bool
pub fn checking_disabled(&self) -> bool
pub fn response_code(&self) -> u16
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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