Expand description
§hosts_to
A library for parsing hosts file entries. This library provides a way to parse hosts file entries into a format that can be used
Re-exports§
pub use ::trust_dns_proto;
trust-dns-proto
Structs§
- Host
Entry - A single entry in a hosts file.
This sturct corresponds to a line in the hosts file.
This struct owns its data.
See
HostEntryRef
for a non-owning version. - Host
Entry Ref - A reference to a single line of a hosts file.
- Record
- Single ip address and hostname pair
- Record
Iter - Iterator over
Record
s in aHostEntry
.
Enums§
- Parse
Host Entry Error - Error type for parsing hosts file entries.
This sturct corresponds to a line in the hosts file.
See
HostEntry
for a version that owns its data.