pub struct PooledStream<M>{ /* private fields */ }Expand description
Pooled stream, provided for the outer world usage
Trait Implementations§
Source§impl<M> AsMut<<M as ConnectionManager>::Connection> for PooledStream<M>
impl<M> AsMut<<M as ConnectionManager>::Connection> for PooledStream<M>
Source§fn as_mut(&mut self) -> &mut M::Connection
fn as_mut(&mut self) -> &mut M::Connection
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl<M> AsRef<<M as ConnectionManager>::Connection> for PooledStream<M>
impl<M> AsRef<<M as ConnectionManager>::Connection> for PooledStream<M>
Source§fn as_ref(&self) -> &M::Connection
fn as_ref(&self) -> &M::Connection
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<M> Deref for PooledStream<M>
impl<M> Deref for PooledStream<M>
Source§type Target = <M as ConnectionManager>::Connection
type Target = <M as ConnectionManager>::Connection
The resulting type after dereferencing.
Source§impl<M> DerefMut for PooledStream<M>
impl<M> DerefMut for PooledStream<M>
Auto Trait Implementations§
impl<M> Freeze for PooledStream<M>
impl<M> !RefUnwindSafe for PooledStream<M>
impl<M> Send for PooledStream<M>
impl<M> Sync for PooledStream<M>
impl<M> Unpin for PooledStream<M>
impl<M> !UnwindSafe for PooledStream<M>
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