[][src]Crate actix_diesel_cache

actix_diesel_cache is crate which provides the actix actor for caching all database entries on local machine.

Structs

CacheDbActor

Actix Actor for caching database. Has fast reads and slow writes. Updates its records once in a minute and on inserts.

Get

Gets item by id

GetAll

Gets all entries

Save

Save one entry

Traits

Cache

Trait for CacheDbActor. Requires at compile time for type to be queryable in table and database backend.

Type Definitions

Error

Error of cache actor

Result

Result