pub struct PostgresStore {
pub client: Client,
pub connection: Connection<Socket, NoTlsStream>,
}Expand description
A quad store backed by a PostgreSQL database.
§Examples
let mut store = PostgresStore::open("postgres://postgres@localhost:5432").await?;Fields§
§client: Client§connection: Connection<Socket, NoTlsStream>Implementations§
Source§impl PostgresStore
impl PostgresStore
Trait Implementations§
Source§impl Debug for PostgresStore
impl Debug for PostgresStore
Auto Trait Implementations§
impl !Freeze for PostgresStore
impl !RefUnwindSafe for PostgresStore
impl !Sync for PostgresStore
impl !UnwindSafe for PostgresStore
impl Send for PostgresStore
impl Unpin for PostgresStore
impl UnsafeUnpin for PostgresStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more