pub struct PooledSession { /* private fields */ }Expand description
Handle to a pooled session (shared transport).
Implementations§
Source§impl PooledSession
impl PooledSession
pub fn lock(&self) -> MutexGuard<'_, InstrumentSession>
Auto Trait Implementations§
impl Freeze for PooledSession
impl RefUnwindSafe for PooledSession
impl Send for PooledSession
impl Sync for PooledSession
impl Unpin for PooledSession
impl UnsafeUnpin for PooledSession
impl UnwindSafe for PooledSession
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