Struct dns_message_parser::Dns
source · [−]pub struct Dns {
pub id: u16,
pub flags: Flags,
pub questions: Vec<Question>,
pub answers: Vec<RR>,
pub authorities: Vec<RR>,
pub additionals: Vec<RR>,
}
Fields
id: u16
flags: Flags
questions: Vec<Question>
answers: Vec<RR>
additionals: Vec<RR>
Implementations
sourceimpl Dns
impl Dns
pub const fn is_response(&self) -> bool
Trait Implementations
impl Eq for Dns
impl StructuralEq for Dns
impl StructuralPartialEq for Dns
Auto Trait Implementations
impl RefUnwindSafe for Dns
impl Send for Dns
impl Sync for Dns
impl Unpin for Dns
impl UnwindSafe for Dns
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