[−][src]Struct reool::instrumentation::StatsLogger
Simply logs every PoolStats
sent by the pool
Trait Implementations
impl Instrumentation for StatsLogger
[src]
fn checked_out_connection(&self, _idle_for: Duration)
[src]
fn checked_in_returned_connection(&self, _flight_time: Duration)
[src]
fn checked_in_new_connection(&self)
[src]
fn connection_dropped(&self, _flight_time: Duration, _lifetime: Duration)
[src]
fn connection_created(&self, _connected_after: Duration, _total_time: Duration)
[src]
fn connection_killed(&self, _lifetime: Duration)
[src]
fn reservation_added(&self)
[src]
fn reservation_fulfilled(&self, _after: Duration)
[src]
fn reservation_not_fulfilled(&self, _after: Duration)
[src]
fn reservation_limit_reached(&self)
[src]
fn connection_factory_failed(&self)
[src]
fn stats(&self, stats: PoolStats)
[src]
Auto Trait Implementations
impl Send for StatsLogger
impl Sync for StatsLogger
impl Unpin for StatsLogger
impl UnwindSafe for StatsLogger
impl RefUnwindSafe for StatsLogger
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,