Struct pravega_connection_pool::connection_pool::PooledConnection [−][src]
Expand description
A smart pointer wrapping a Connection so that the inner Connection can return to the ConnectionPool once this pointer is dropped.
Implementations
impl<T: Send + Sized> PooledConnection<'_, T>
[src]
impl<T: Send + Sized> PooledConnection<'_, T>
[src]pub fn invalidate(&mut self)
[src]
Trait Implementations
impl<T: Send + Sized> Debug for PooledConnection<'_, T>
[src]
impl<T: Send + Sized> Debug for PooledConnection<'_, T>
[src]impl<T: Send + Sized> Deref for PooledConnection<'_, T>
[src]
impl<T: Send + Sized> Deref for PooledConnection<'_, T>
[src]impl<T: Send + Sized> DerefMut for PooledConnection<'_, T>
[src]
impl<T: Send + Sized> DerefMut for PooledConnection<'_, T>
[src]Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for PooledConnection<'a, T>
impl<'a, T> Send for PooledConnection<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Sync for PooledConnection<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for PooledConnection<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> !UnwindSafe for PooledConnection<'a, T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self