Crate hosts_to

Source
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§

HostEntry
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.
HostEntryRef
A reference to a single line of a hosts file.
Record
Single ip address and hostname pair
RecordIter
Iterator over Records in a HostEntry.

Enums§

ParseHostEntryError
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.