Trait domain::base::rdata::RecordData

source ·
pub trait RecordData {
    // Required method
    fn rtype(&self) -> Rtype;
}
Expand description

A type that represents record data.

The type needs to be able to to be able to provide the record type of a record with a value’s data via the rtype method.

Required Methods§

source

fn rtype(&self) -> Rtype

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.

Implementations on Foreign Types§

source§

impl<'a, T: RecordData> RecordData for &'a T

source§

fn rtype(&self) -> Rtype

Implementors§

source§

impl RecordData for Aaaa

source§

impl RecordData for A

source§

impl<N> RecordData for Dname<N>

source§

impl<N> RecordData for Cname<N>

source§

impl<N> RecordData for Mb<N>

source§

impl<N> RecordData for Md<N>

source§

impl<N> RecordData for Mf<N>

source§

impl<N> RecordData for Mg<N>

source§

impl<N> RecordData for Minfo<N>

source§

impl<N> RecordData for Mr<N>

source§

impl<N> RecordData for Mx<N>

source§

impl<N> RecordData for Ns<N>

source§

impl<N> RecordData for Ptr<N>

source§

impl<N> RecordData for Soa<N>

source§

impl<N> RecordData for Srv<N>

source§

impl<O, N> RecordData for AllRecordData<O, N>

source§

impl<O, N> RecordData for ZoneRecordData<O, N>

source§

impl<O, N> RecordData for Tsig<O, N>

source§

impl<Octs> RecordData for Cdnskey<Octs>

source§

impl<Octs> RecordData for Cds<Octs>

source§

impl<Octs> RecordData for Dnskey<Octs>

source§

impl<Octs> RecordData for Ds<Octs>

source§

impl<Octs> RecordData for Nsec3<Octs>

source§

impl<Octs> RecordData for Nsec3param<Octs>

source§

impl<Octs> RecordData for Hinfo<Octs>

source§

impl<Octs> RecordData for Txt<Octs>

source§

impl<Octs> RecordData for Zonemd<Octs>

source§

impl<Octs, Name> RecordData for Nsec<Octs, Name>

source§

impl<Octs, Name> RecordData for Rrsig<Octs, Name>

source§

impl<Octs, Name> RecordData for SvcbRdata<HttpsVariant, Octs, Name>

source§

impl<Octs, Name> RecordData for SvcbRdata<SvcbVariant, Octs, Name>

source§

impl<Octs: AsRef<[u8]>> RecordData for UnknownRecordData<Octs>

source§

impl<Octs: ?Sized> RecordData for Null<Octs>

source§

impl<Octs: ?Sized> RecordData for Opt<Octs>