Struct mobc_reql::SessionManager [−][src]
pub struct SessionManager { /* fields omitted */ }
Implementations
impl SessionManager
[src]
impl SessionManager
[src]Trait Implementations
impl Clone for SessionManager
[src]
impl Clone for SessionManager
[src]fn clone(&self) -> SessionManager
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Manager for SessionManager
[src]
impl Manager for SessionManager
[src]type Connection = Session
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 SessionManager
impl !RefUnwindSafe for SessionManager
impl Send for SessionManager
impl Send for SessionManager
impl Sync for SessionManager
impl Sync for SessionManager
impl Unpin for SessionManager
impl Unpin for SessionManager
impl !UnwindSafe for SessionManager
impl !UnwindSafe for SessionManager