pub enum DnsMessage {
Query(DnsQuery),
Response(DnsResponse),
}Available on crate feature
dns only.Expand description
Unified message type emitted by DnsUdpParser.
Variants§
Query(DnsQuery)
Response(DnsResponse)
Trait Implementations§
Source§impl Clone for DnsMessage
impl Clone for DnsMessage
Source§fn clone(&self) -> DnsMessage
fn clone(&self) -> DnsMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DnsMessage
impl RefUnwindSafe for DnsMessage
impl Send for DnsMessage
impl Sync for DnsMessage
impl Unpin for DnsMessage
impl UnsafeUnpin for DnsMessage
impl UnwindSafe for DnsMessage
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