pub struct OracleConnectionManager { /* private fields */ }Expand description
Manager for creating and recycling Oracle connections
This implements the deadpool::managed::Manager trait to integrate
with the deadpool connection pool.
Implementations§
Trait Implementations§
Source§impl Manager for OracleConnectionManager
impl Manager for OracleConnectionManager
Source§type Type = Connection
type Type = Connection
Type of
super::Objects that this Manager creates and recycles.Source§type Error = Error
type Error = Error
Error that this
Manager can return when creating and/or recycling
super::Objects.Source§async fn create(&self) -> Result<Connection, Error>
async fn create(&self) -> Result<Connection, Error>
Creates a new instance of
Manager::Type.Source§async fn recycle(
&self,
conn: &mut Connection,
_metrics: &Metrics,
) -> RecycleResult<Error>
async fn recycle( &self, conn: &mut Connection, _metrics: &Metrics, ) -> RecycleResult<Error>
Tries to recycle an instance of
Manager::Type. Read moreAuto Trait Implementations§
impl Freeze for OracleConnectionManager
impl RefUnwindSafe for OracleConnectionManager
impl Send for OracleConnectionManager
impl Sync for OracleConnectionManager
impl Unpin for OracleConnectionManager
impl UnwindSafe for OracleConnectionManager
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more