tinystore 0.12.0

A small storage runtime for applications on SQLite: SQL, key-value state, durable jobs, files, search, logs and metrics in one directory
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The words a `where` of metrics and of records shares: a value that must be
//! none of some, and a text that starts with another. Each engine turns them
//! into its own condition, a label's text in metrics, a JSON value in records.

/// A value equal to none of these, or absent: `Not("dev")`, `Not(["dev",
/// "test"])`.
#[derive(Clone, Copy, Debug)]
pub struct Not<T>(pub T);

/// A text that starts with this one: `Prefix("api-")`.
#[derive(Clone, Copy, Debug)]
pub struct Prefix<T>(pub T);