Skip to main content

SqlxCacheError

Type Alias SqlxCacheError 

Source
pub type SqlxCacheError = DbCacheError;
Expand description

SQLx-specific compatibility name for DbCacheError.

Aliased Type§

pub enum SqlxCacheError {
    MissingKey {
        operation: String,
    },
    Cache(CacheError),
}

Variants§

§

MissingKey

A cached database operation cannot run without an explicit cache key.

Fields

§operation: String
§

Cache(CacheError)

The underlying HydraCache operation failed.