pub struct Status {
pub max_size: usize,
pub size: usize,
pub available: usize,
pub waiting: usize,
}
Expand description
The current pool status.
Fields§
§max_size: usize
The maximum size of the pool.
size: usize
The current size of the pool.
available: usize
The number of available objects in the pool.
waiting: usize
The number of futures waiting for an object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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