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

pub struct ReleaseEvent { /* fields omitted */ }

Information about a release event.


impl ReleaseEvent[src]

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

Returns the ID of the connection.

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

Returns the age of the connection.

Trait Implementations

impl Debug for ReleaseEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for ReleaseEvent

impl Send for ReleaseEvent

impl Sync for ReleaseEvent

impl Unpin for ReleaseEvent

impl UnwindSafe for ReleaseEvent

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>,