pub struct PooledClientGuard { /* private fields */ }Expand description
Guard that returns a client to the pool when dropped
Implementations§
Source§impl PooledClientGuard
impl PooledClientGuard
Sourcepub fn client_mut(&mut self) -> &mut dyn LLMClient
pub fn client_mut(&mut self) -> &mut dyn LLMClient
Get a mutable reference to the underlying client
Trait Implementations§
Source§impl Debug for PooledClientGuard
impl Debug for PooledClientGuard
Source§impl Deref for PooledClientGuard
impl Deref for PooledClientGuard
Source§impl Drop for PooledClientGuard
impl Drop for PooledClientGuard
Auto Trait Implementations§
impl !RefUnwindSafe for PooledClientGuard
impl !UnwindSafe for PooledClientGuard
impl Freeze for PooledClientGuard
impl Send for PooledClientGuard
impl Sync for PooledClientGuard
impl Unpin for PooledClientGuard
impl UnsafeUnpin for PooledClientGuard
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