Module domain::zonefile::inplace

source ·
Available on crate features zonefile and bytes only.
Expand description

A zonefile scanner keeping data in place.

The zonefile scanner provided by this module reads the entire zonefile into memory and tries as much as possible to modify re-use this memory when scanning data. It uses the Bytes family of types for safely storing, manipulating, and returning the data and thus requires the bytes feature to be enabled.

This may or may not be a good strategy. It was primarily implemented to see that the Scan trait is powerful enough to build such an implementation.



  • An entry of a zonefile.

Type Aliases