pg-schema-cache-resolute 0.2.0

PostgreSQL schema cache built on the resolute database client, with LISTEN/NOTIFY-driven reload.
Documentation
1
2
3
4
5
6
7
8
#[derive(Debug, thiserror::Error)]
pub enum SchemaCacheError {
    #[error("database error: {0}")]
    Database(#[from] resolute::TypedError),

    #[error("unexpected data from database: {0}")]
    UnexpectedData(String),
}