Struct fire_postgres::connection::ConnectionOwned
source · pub struct ConnectionOwned(/* private fields */);
Implementations§
source§impl ConnectionOwned
impl ConnectionOwned
pub fn connection(&self) -> Connection<'_>
pub async fn transaction<'a>(&'a mut self) -> Result<Transaction<'a>, Error>
pub fn metrics(&self) -> &Metrics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionOwned
impl !RefUnwindSafe for ConnectionOwned
impl Send for ConnectionOwned
impl Sync for ConnectionOwned
impl Unpin for ConnectionOwned
impl !UnwindSafe for ConnectionOwned
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