Enum domain::rdata::MasterRecordData
[−]
[src]
pub enum MasterRecordData { A(A), Cname(Cname<DNameBuf>), Hinfo(Hinfo<CharStrBuf>), Mb(Mb<DNameBuf>), Md(Md<DNameBuf>), Mf(Mf<DNameBuf>), Mg(Mg<DNameBuf>), Minfo(Minfo<DNameBuf>), Mr(Mr<DNameBuf>), Mx(Mx<DNameBuf>), Ns(Ns<DNameBuf>), Ptr(Ptr<DNameBuf>), Soa(Soa<DNameBuf>), Txt(Txt<Vec<u8>>), Wks(Wks<WksBitmapBuf>), Aaaa(Aaaa), Generic(Rtype, Vec<u8>), }
Variants
A(A)
Cname(Cname<DNameBuf>)
Hinfo(Hinfo<CharStrBuf>)
Mb(Mb<DNameBuf>)
Md(Md<DNameBuf>)
Mf(Mf<DNameBuf>)
Mg(Mg<DNameBuf>)
Minfo(Minfo<DNameBuf>)
Mr(Mr<DNameBuf>)
Mx(Mx<DNameBuf>)
Ns(Ns<DNameBuf>)
Ptr(Ptr<DNameBuf>)
Soa(Soa<DNameBuf>)
Txt(Txt<Vec<u8>>)
Wks(Wks<WksBitmapBuf>)
Aaaa(Aaaa)
Generic(Rtype, Vec<u8>)
Methods
impl MasterRecordData
[src]
fn scan<S>(rtype: Rtype,
scanner: &mut S,
origin: Option<&DNameSlice>)
-> ScanResult<Self> where S: Scanner
scanner: &mut S,
origin: Option<&DNameSlice>)
-> ScanResult<Self> where S: Scanner
Trait Implementations
impl Clone for MasterRecordData
[src]
fn clone(&self) -> MasterRecordData
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 Debug for MasterRecordData
[src]
impl RecordData for MasterRecordData
[src]
fn rtype(&self) -> Rtype
Returns the record type for this record data instance. Read more
fn compose<C>(&self, target: C) -> ComposeResult<()> where C: AsMut<Composer>
Appends the record data to the end of a composer.