pub struct State {
pub connections: u32,
pub idle_connections: u32,
/* private fields */
}
Available on crate feature
r2d2
only.Expand description
Information about the state of a Pool
.
Fields§
§connections: u32
The number of connections currently being managed by the pool.
idle_connections: u32
The number of idle connections.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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