pub struct Message<B: SplitByteSlice> {
pub header: Ref<B, Header>,
pub questions: Vec<Question<B>>,
pub answers: Vec<Record<B>>,
pub authority: Vec<Record<B>>,
pub additional: Vec<Record<B>>,
}
Expand description
A parsed mDNS message in its entirety.
Fields§
§header: Ref<B, Header>
§questions: Vec<Question<B>>
§answers: Vec<Record<B>>
§additional: Vec<Record<B>>
Trait Implementations§
Source§impl<B: SplitByteSlice + Copy> ParsablePacket<B, ()> for Message<B>
impl<B: SplitByteSlice + Copy> ParsablePacket<B, ()> for Message<B>
Auto Trait Implementations§
impl<B> Freeze for Message<B>where
B: Freeze,
impl<B> RefUnwindSafe for Message<B>where
B: RefUnwindSafe,
impl<B> Send for Message<B>where
B: Send,
impl<B> Sync for Message<B>where
B: Sync,
impl<B> Unpin for Message<B>where
B: Unpin,
impl<B> UnwindSafe for Message<B>where
B: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more