pub struct AcquireEvent { /* private fields */ }
Available on crate feature
r2d2
only.Expand description
Information about an acquire event.
Implementations§
Source§impl 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 Freeze for AcquireEvent
impl RefUnwindSafe for AcquireEvent
impl Send for AcquireEvent
impl Sync for AcquireEvent
impl Unpin for AcquireEvent
impl UnwindSafe for AcquireEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more