Skip to main content

Module store

Module store 

Source

Modules§

sqlite_url
Classifying SQLite connection strings — not a SQLite store implementation itself (see store::sql for that, feature-gated behind sql-*), just URL parsing with no sqlx/diesel/sea_orm dependency, so this module is named sqlite_url rather than sqlite to avoid reading as one.
traits

Enums§

StoreError

Traits§

AtomicConsume
Backends that can atomically fetch-and-remove a value implement this.
AtomicInsert
Backends that can atomically insert a value only if no value is currently stored under key implement this.
IndexedKvStore
Backends that can atomically write a value under a primary key while also maintaining a secondary lookup key implement this.
KvStore

Functions§

ttl_ceil_secs
Rounds a Duration up to the nearest whole second, flooring at 1.