[−][src]Struct mobc::State
Information about the state of a Pool
.
Fields
max_open: u64
Maximum number of open connections to the database
connections: u64
The number of established connections both in use and idle.
in_use: u64
The number of connections currently in use.
idle: u64
The number of idle connections.
wait_count: u64
The total number of connections waited for.
wait_duration: Duration
The total time blocked waiting for a new connection.
max_idle_closed: u64
The total number of connections closed due to max_idle
.
max_lifetime_closed: u64
The total number of connections closed due to max_lifetime
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,