This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
ood_persistence/src/syn.rs

14 lines
244 B
Rust

use crate::error;
pub trait PersistencePool {
type Conn: ConnectionClient;
fn get_connection(&self) -> error::Result<Self::Conn>;
}
pub trait ConnectionClient {
type InnerConn;
fn inner(&mut self) -> &mut Self::InnerConn;
}