Struct lib::db::psql::connection::PsqlConnection
source · [−]pub struct PsqlConnection { /* private fields */ }Implementations
sourceimpl PsqlConnection
impl PsqlConnection
pub fn new(creds: &PsqlCreds) -> ResultAnyError<PsqlConnection>
sourceimpl PsqlConnection
impl PsqlConnection
pub fn get(&mut self) -> &mut PsqlClient
Auto Trait Implementations
impl !RefUnwindSafe for PsqlConnection
impl Send for PsqlConnection
impl !Sync for PsqlConnection
impl Unpin for PsqlConnection
impl !UnwindSafe for PsqlConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more