pub struct Message {
pub header: Header,
pub queries: Vec<Question>,
pub answers: Vec<Answer>,
pub nameservers: Vec<Answer>,
pub additional: Vec<Answer>,
pub error_flags: Flags<ErrorFlags>,
}
Expand description
Breakdown of the parsed dns bytes
Fields
header: Header
queries: Vec<Question>
answers: Vec<Answer>
nameservers: Vec<Answer>
additional: Vec<Answer>
error_flags: Flags<ErrorFlags>
Trait Implementations
impl StructuralPartialEq for Message
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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