ReferenceRust referencesigil-labor-api
sigil-labor-api · store::postgres
Source declarations, signatures and documentation for store::postgres.
Source: sigil/node/../labor-api/src/store/postgres.rs. SHA-256: 87d8d5e7774fa03389b9b60917be1e1677f1ac7330a782ffa5963e19ac3b2af5.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
Module condition:
#[cfg(feature = "postgres")]store::postgres::PostgresStore
Production PostgreSQL storage backend.
#[cfg(feature = "postgres")]
#[derive(Clone)]
pub struct PostgresStore {
}Source line: 32.
store::postgres::PostgresStore::connect
#[cfg(feature = "postgres")]
pub async fn connect(database_url: &str) -> Result<Arc<Self>, LaborError>;Source line: 37.