Trait resolv::record::RecordData [] [src]

pub trait RecordData: Sized {
    fn get_record_type() -> RecordType;
    fn extract(msg: &mut Message, rr: &Rr) -> Result<Self, Error>;
}

For internal use.

Required Methods

fn get_record_type() -> RecordType

Get type of record

fn extract(msg: &mut Message, rr: &Rr) -> Result<Self, Error>

Convert from low level resource record. For internal use.

Implementors