Skip to main content

Module mmdb

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.
MmdbBuilder
A builder for MaxMind DB byte images.
MmdbReader
A zero-copy reader over a MaxMind DB.

Enums§

IpVersion
The IP version of the addresses a database indexes.
MmdbWriteError
Error returned while building or serialising a MaxMind DB.
RecordSize
The number of bits in each search-tree record. The format only defines 24, 28 and 32; a node always holds two records.