pub struct PooledClient { /* private fields */ }Expand description
RAII guard — returns the connection to the pool on drop.
Implementations§
Source§impl PooledClient
impl PooledClient
Sourcepub fn client(&self) -> &S7Client<TcpTransport>
pub fn client(&self) -> &S7Client<TcpTransport>
Access the underlying S7Client.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PooledClient
impl !RefUnwindSafe for PooledClient
impl Send for PooledClient
impl Sync for PooledClient
impl Unpin for PooledClient
impl UnsafeUnpin for PooledClient
impl UnwindSafe for PooledClient
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