Struct finchers_r2d2::current_thread::PoolEndpoint [−][src]
pub struct PoolEndpoint<M: ManageConnection> { /* fields omitted */ }
The endpoint which retrieves a connection from a connection pool.
Trait Implementations
impl<M: Debug + ManageConnection> Debug for PoolEndpoint<M>
[src]
impl<M: Debug + ManageConnection> Debug for PoolEndpoint<M>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<M: Clone + ManageConnection> Clone for PoolEndpoint<M>
[src]
impl<M: Clone + ManageConnection> Clone for PoolEndpoint<M>
fn clone(&self) -> PoolEndpoint<M>
[src]
fn clone(&self) -> PoolEndpoint<M>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a, M> Endpoint<'a> for PoolEndpoint<M> where
M: ManageConnection + 'a,
[src]
impl<'a, M> Endpoint<'a> for PoolEndpoint<M> where
M: ManageConnection + 'a,
type Output = (PooledConnection<M>,)
The inner type associated with this endpoint.
type Future = PoolFuture<'a, M>
The type of value which will be returned from apply
.
fn apply(&'a self, _: &mut ApplyContext) -> ApplyResult<Self::Future>
[src]
fn apply(&'a self, _: &mut ApplyContext) -> ApplyResult<Self::Future>
Perform checking the incoming HTTP request and returns an instance of the associated Future if matched. Read more
fn with_output<T>(self) -> Self where
Self: Endpoint<'a, Output = T>,
T: Tuple,
[src]
fn with_output<T>(self) -> Self where
Self: Endpoint<'a, Output = T>,
T: Tuple,
Add an annotation that the associated type Output
is fixed to T
.
fn wrap<W>(self, wrapper: W) -> <W as Wrapper<'a, Self>>::Endpoint where
W: Wrapper<'a, Self>,
[src]
fn wrap<W>(self, wrapper: W) -> <W as Wrapper<'a, Self>>::Endpoint where
W: Wrapper<'a, Self>,
Converts self
using the provided Wrapper
.
Auto Trait Implementations
impl<M> Send for PoolEndpoint<M> where
<M as ManageConnection>::Connection: Send,
impl<M> Send for PoolEndpoint<M> where
<M as ManageConnection>::Connection: Send,
impl<M> Sync for PoolEndpoint<M> where
<M as ManageConnection>::Connection: Send,
impl<M> Sync for PoolEndpoint<M> where
<M as ManageConnection>::Connection: Send,