pub struct Question {
pub name: Name,
pub kind: RecordType,
pub unicast: bool,
}Expand description
One question read from a message.
Fields§
§name: NameThe name asked about.
kind: RecordTypeThe type asked for. ANY is ordinary in Multicast DNS.
unicast: boolRFC 6762 §5.4’s unicast-response bit.
Trait Implementations§
impl Eq for Question
impl StructuralPartialEq for Question
Auto Trait Implementations§
impl Forget for Question
impl Freeze for Question
impl Move for Question
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnsafeUnpin for Question
impl UnwindSafe for Question
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