pub struct PostgresStoreClient { /* private fields */ }Expand description
Shared Postgres client over a host-owned SQL transport.
Implementations§
Source§impl PostgresStoreClient
impl PostgresStoreClient
Sourcepub fn new(
config: PostgresStoreConfig,
transport: Arc<dyn PostgresSqlTransport>,
) -> Self
pub fn new( config: PostgresStoreConfig, transport: Arc<dyn PostgresSqlTransport>, ) -> Self
Creates a client over a scripted or host-provided transport.
Trait Implementations§
Source§impl Clone for PostgresStoreClient
impl Clone for PostgresStoreClient
Source§fn clone(&self) -> PostgresStoreClient
fn clone(&self) -> PostgresStoreClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for PostgresStoreClient
impl !UnwindSafe for PostgresStoreClient
impl Freeze for PostgresStoreClient
impl Send for PostgresStoreClient
impl Sync for PostgresStoreClient
impl Unpin for PostgresStoreClient
impl UnsafeUnpin for PostgresStoreClient
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