Module mmdb
Available on crate feature
net only.Expand description
MaxMind DB (.mmdb) reader and minimal writer.
See MmdbReader for querying an existing database and MmdbBuilder
for constructing one (used to synthesise test fixtures).
Structs§
- Metadata
- Parsed metadata describing a MaxMind DB.
- Mmdb
Builder - A builder for MaxMind DB byte images.
- Mmdb
Reader - A zero-copy reader over a MaxMind DB.
Enums§
- IpVersion
- The IP version of the addresses a database indexes.
- Mmdb
Write Error - Error returned while building or serialising a MaxMind DB.
- Record
Size - The number of bits in each search-tree record. The format only defines 24, 28 and 32; a node always holds two records.