Struct finchers_r2d2::PoolEndpoint[][src]

pub struct PoolEndpoint<M: ManageConnection> { /* fields omitted */ }

The endpoint which retrieves a connection from a connection pool.

Methods

impl<M> PoolEndpoint<M> where
    M: ManageConnection
[src]

Sets whether to call Pool::try_get() before spawning the task.

The default value is true.

Trait Implementations

impl<M: Debug + ManageConnection> Debug for PoolEndpoint<M>
[src]

Formats the value using the given formatter. Read more

impl<M: Clone + ManageConnection> Clone for PoolEndpoint<M>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, M> Endpoint<'a> for PoolEndpoint<M> where
    M: ManageConnection + 'a, 
[src]

The inner type associated with this endpoint.

The type of value which will be returned from apply.

Perform checking the incoming HTTP request and returns an instance of the associated Future if matched. Read more

Add an annotation that the associated type Output is fixed to T.

Converts self using the provided Wrapper.

Auto Trait Implementations

impl<M> Send for PoolEndpoint<M> where
    <M as ManageConnection>::Connection: Send

impl<M> Sync for PoolEndpoint<M> where
    <M as ManageConnection>::Connection: Send