Struct diesel::r2d2::event::CheckinEvent[][src]

pub struct CheckinEvent { /* fields omitted */ }

Information about a checkin event.


impl CheckinEvent[src]

pub fn connection_id(&self) -> u64[src]

Returns the ID of the connection.

pub fn duration(&self) -> Duration[src]

Returns the amount of time the connection was checked out.

Trait Implementations

impl Debug for CheckinEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckinEvent

impl Send for CheckinEvent

impl Sync for CheckinEvent

impl Unpin for CheckinEvent

impl UnwindSafe for CheckinEvent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoSql for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,