Struct dns_parser::Name
[−]
[src]
pub struct Name<'a> { /* fields omitted */ }
The DNS name as stored in the original packet
This is contains just a reference to a slice that contains the data.
You may turn this into a string using .to_string()
Methods
impl<'a> Name<'a>
[src]
Trait Implementations
impl<'a> Debug for Name<'a>
[src]
impl<'a> Clone for Name<'a>
[src]
fn clone(&self) -> Name<'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