[][src]Struct resolv::Flags

pub struct Flags(pub u16);


impl Flags[src]

pub fn question_response(&self) -> bool[src]

pub fn operation_code(&self) -> u16[src]

pub fn authoritative_answer(&self) -> bool[src]

pub fn truncation_occurred(&self) -> bool[src]

pub fn recursion_desired(&self) -> bool[src]

pub fn recursion_available(&self) -> bool[src]

pub fn must_be_zero(&self) -> bool[src]

pub fn authentic_data(&self) -> bool[src]

pub fn checking_disabled(&self) -> bool[src]

pub fn response_code(&self) -> u16[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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.