Struct dns_parser::Name
[−]
[src]
pub struct Name<'a> { labels: &'a [u8], original: &'a [u8], }
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()
Fields
labels | |
original | This is the original buffer size. The compressed names in original are calculated in this buffer |