[−][src]Struct libresolv_sys::HEADER
Fields
_bitfield_1: __BindgenBitfieldUnit<[u8; 12], u16>
Implementations
impl HEADER
[src]
pub fn id(&self) -> c_uint
[src]
pub fn set_id(&mut self, val: c_uint)
[src]
pub fn rd(&self) -> c_uint
[src]
pub fn set_rd(&mut self, val: c_uint)
[src]
pub fn tc(&self) -> c_uint
[src]
pub fn set_tc(&mut self, val: c_uint)
[src]
pub fn aa(&self) -> c_uint
[src]
pub fn set_aa(&mut self, val: c_uint)
[src]
pub fn opcode(&self) -> c_uint
[src]
pub fn set_opcode(&mut self, val: c_uint)
[src]
pub fn qr(&self) -> c_uint
[src]
pub fn set_qr(&mut self, val: c_uint)
[src]
pub fn rcode(&self) -> c_uint
[src]
pub fn set_rcode(&mut self, val: c_uint)
[src]
pub fn cd(&self) -> c_uint
[src]
pub fn set_cd(&mut self, val: c_uint)
[src]
pub fn ad(&self) -> c_uint
[src]
pub fn set_ad(&mut self, val: c_uint)
[src]
pub fn unused(&self) -> c_uint
[src]
pub fn set_unused(&mut self, val: c_uint)
[src]
pub fn ra(&self) -> c_uint
[src]
pub fn set_ra(&mut self, val: c_uint)
[src]
pub fn qdcount(&self) -> c_uint
[src]
pub fn set_qdcount(&mut self, val: c_uint)
[src]
pub fn ancount(&self) -> c_uint
[src]
pub fn set_ancount(&mut self, val: c_uint)
[src]
pub fn nscount(&self) -> c_uint
[src]
pub fn set_nscount(&mut self, val: c_uint)
[src]
pub fn arcount(&self) -> c_uint
[src]
pub fn set_arcount(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
id: c_uint,
rd: c_uint,
tc: c_uint,
aa: c_uint,
opcode: c_uint,
qr: c_uint,
rcode: c_uint,
cd: c_uint,
ad: c_uint,
unused: c_uint,
ra: c_uint,
qdcount: c_uint,
ancount: c_uint,
nscount: c_uint,
arcount: c_uint
) -> __BindgenBitfieldUnit<[u8; 12], u16>
[src]
id: c_uint,
rd: c_uint,
tc: c_uint,
aa: c_uint,
opcode: c_uint,
qr: c_uint,
rcode: c_uint,
cd: c_uint,
ad: c_uint,
unused: c_uint,
ra: c_uint,
qdcount: c_uint,
ancount: c_uint,
nscount: c_uint,
arcount: c_uint
) -> __BindgenBitfieldUnit<[u8; 12], u16>
Trait Implementations
impl Clone for HEADER
[src]
impl Copy for HEADER
[src]
impl Debug for HEADER
[src]
impl Default for HEADER
[src]
Auto Trait Implementations
impl RefUnwindSafe for HEADER
impl Send for HEADER
impl Sync for HEADER
impl Unpin for HEADER
impl UnwindSafe for HEADER
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,