Trait domain::bits::rdata::ParsedRecordData[][src]

pub trait ParsedRecordData<'a>: RecordData {
    fn parse(rtype: Rtype, parser: &mut Parser<'a>) -> ParseResult<Option<Self>>;
}

A trait for types that allow parsing record data from a message.

Required Methods

Parses the record data out of a parser.

The parser handed into the function will be limited to the length of the record data, so can read until the end of the parser.

Implementors