Struct sparkle::WireMessage
[−]
[src]
pub struct WireMessage<'a> { /* fields omitted */ }
Encapsulates a DNS message in an external buffer.
Methods
impl<'a> WireMessage<'a>
[src]
fn id(&self) -> u16
fn recursion_desired(&self) -> bool
fn questions(&self) -> Take<QuestionIter<'a>>
fn answers(&self) -> Take<ResourceRecordIter<'a>>
fn additionals(&self) -> Take<ResourceRecordIter<'a>>
Trait Implementations
impl<'a> Clone for WireMessage<'a>
[src]
fn clone(&self) -> WireMessage<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for WireMessage<'a>
[src]
impl<'a> Eq for WireMessage<'a>
[src]
impl<'a> PartialEq for WireMessage<'a>
[src]
fn eq(&self, __arg_0: &WireMessage<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WireMessage<'a>) -> bool
This method tests for !=
.