Module holmes::simple [] [src]

You likely don't want to use this module - its primary purpose is to make benchmarking and testing easier to do in practice.

Reexports

pub use super::pg::dyn::values::ToValue;
pub use super::pg::dyn::Value;
pub use super::pg::dyn::Type;
pub use super::pg::dyn::values;
pub use super::engine::types::Fact;
pub use super::engine::types::Rule;
pub use super::engine::types::Clause;
pub use super::engine::types::MatchExpr;
pub use super::engine::types::Projection;

Structs

Arc

A thread-safe reference-counting pointer.

Core

An event loop.

Functions

multi

Call a sequence of functions on the database, simulating a program termination in between each by constructing a fresh Engine. Data is destroyed unless an error occurs.

should_fail

Panics on success, and suppresses an error

single

Convenience wrapper around multi which just runs a single function Data is destroyed unless an error occurs.

Type Definitions

Engine

Convenience type alias describing the Engine specialized to Postgres

Result

Convenient wrapper around std::Result.