pub struct PooledConnection {
pub id: String,
pub server_id: String,
pub is_valid: bool,
pub last_used: Instant,
}Expand description
Represents a pooled connection to an MCP server
Fields§
§id: String§server_id: String§is_valid: bool§last_used: InstantImplementations§
Trait Implementations§
Source§impl Clone for PooledConnection
impl Clone for PooledConnection
Source§fn clone(&self) -> PooledConnection
fn clone(&self) -> PooledConnection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PooledConnection
impl RefUnwindSafe for PooledConnection
impl Send for PooledConnection
impl Sync for PooledConnection
impl Unpin for PooledConnection
impl UnwindSafe for PooledConnection
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