Function domain::rdata::fmt_rdata [−][src]
pub fn fmt_rdata(rtype: Rtype, parser: &mut Parser, f: &mut Formatter) -> Result
Formats record data from a message parser in master file format.
This helper function formats the record data at the start of parser
using the formatter f
. It assumes that the record data is for a
record of record type rtype
.
If the record type is known, the function tries to use the type’s proper master data format. Otherwise the generic format is used.