Struct mobc_reql::ReqlConnectionManager [−][src]
pub struct ReqlConnectionManager { /* fields omitted */ }
Implementations
Trait Implementations
impl Clone for ReqlConnectionManager
[src]
impl Clone for ReqlConnectionManager
[src]fn clone(&self) -> ReqlConnectionManager
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Manager for ReqlConnectionManager
[src]
impl Manager for ReqlConnectionManager
[src]type Connection = Connection
The connection type this manager deals with.
type Error = Error
The error type returned by Connection
s.
fn connect<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Self::Connection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn check<'life0, 'async_trait>(
&'life0 self,
conn: Self::Connection
) -> Pin<Box<dyn Future<Output = Result<Self::Connection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
conn: Self::Connection
) -> Pin<Box<dyn Future<Output = Result<Self::Connection>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn validate(&self, conn: &mut Self::Connection) -> bool
[src]
pub fn spawn_task<T>(&self, task: T) where
T: Future + Send + 'static,
<T as Future>::Output: Send,
<T as Future>::Output: 'static,
[src]
T: Future + Send + 'static,
<T as Future>::Output: Send,
<T as Future>::Output: 'static,
Auto Trait Implementations
impl !RefUnwindSafe for ReqlConnectionManager
impl !RefUnwindSafe for ReqlConnectionManager
impl Send for ReqlConnectionManager
impl Send for ReqlConnectionManager
impl Sync for ReqlConnectionManager
impl Sync for ReqlConnectionManager
impl Unpin for ReqlConnectionManager
impl Unpin for ReqlConnectionManager
impl !UnwindSafe for ReqlConnectionManager
impl !UnwindSafe for ReqlConnectionManager