Trait domain::base::rdata::RecordData [−][src]
A type that represents record data.
The type needs to be able to encode the record data into a DNS message
via the Compose
trait. In addition, it needs to be
able to provide the record type of a record with a value’s data via the
rtype
method.
Required methods
fn rtype(&self) -> Rtype
[src]
Returns the record type associated with this record data instance.
This is a method rather than an associated function to allow one type to be used for several real record types.
Implementors
impl<'a, O, N> RecordData for &'a AllRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
impl<'a, O, N> RecordData for &'a MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
impl<O, N> RecordData for AllRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,
impl<O, N> RecordData for MasterRecordData<O, N> where
O: AsRef<[u8]>,
N: ToDname,
[src]
O: AsRef<[u8]>,
N: ToDname,