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 !RefUnwindSafe for ConnectionOwned
impl !UnwindSafe for ConnectionOwned
impl Freeze for ConnectionOwned
impl Send for ConnectionOwned
impl Sync for ConnectionOwned
impl Unpin for ConnectionOwned
impl UnsafeUnpin 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