Struct r2d2::event::AcquireEvent
source · [−]pub struct AcquireEvent { /* private fields */ }
Expand description
Information about an acquire event.
Implementations
sourceimpl AcquireEvent
impl AcquireEvent
sourcepub fn connection_id(&self) -> u64
pub fn connection_id(&self) -> u64
Returns the ID of the connection.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AcquireEvent
impl Send for AcquireEvent
impl Sync for AcquireEvent
impl Unpin for AcquireEvent
impl UnwindSafe for AcquireEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more