Expand description
Rust Library for parsing and indexing ASN-DB files. For the single ip type files see Ipv4Database and Ipv6Database. If you want to parse the combined file, you want to use Database.
Structs
- Database for indexing and searching combined list of ipv4 and ipv6 entries.
- An entry in the database.
- IP -> ASN Database for a single IP version. See Ipv4Database and Ipv6Database.
Enums
- An error which can occur when using this crate.
- Owned version of IpEntry
Type Definitions
- Database for parsing the
ip2asn-v4.tsv
file. - An ipv4 entry in the database.
- Database for parsing the
ip2asn-v6.tsv
file. - An ipv6 entry in the database.
- A custom Result type which can fail with an [crate::Error].