Module holmes::mem_db [] [src]

This is a memory mock for the fact database interface.

The primary purpose of this module is to allow for quick doctest-time checks of the language. Any serious program should use a different backend, as should the correctness tests.

It is not built efficiently, and I do not intend to make it efficient - I'd essentially be reimplementing many parts of a traditional database (indexing, joins, etc).

Structs

Error

The Error type.

MemDB

MemDB is an in-memory mock up of the fact database interface.

Enums

ErrorKind

The kind of an error.

Traits

ResultExt

Additional methods for Result, for easy interaction with this crate.

Type Definitions

Result

Convenient wrapper around std::Result.