pub struct Status {
pub max_size: usize,
pub size: usize,
pub available: isize,
}
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: isize
The number of available objects in the pool. If there are no objects in the pool this number can become negative and stores the number of futures waiting for an object.
Trait Implementations§
Auto Trait Implementations§
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