Skip to main content

Pool

Type Alias Pool 

Source
pub type Pool = Pool<Postgres>;
Expand description

An alias for Pool, specialized for Postgres.

Aliased Type§

pub struct Pool(/* private fields */);

Trait Implementations§

Source§

impl<'c> IntoOneTimeExecutorAt<'c> for &Pool

Source§

type Executor = &'c Pool<Postgres>

The concrete executor type.
Source§

fn into_executor(self) -> OneTimeExecutor<'c, Self::Executor>
where Self: 'c,

Transforms into a OneTimeExecutor which can be used to execute a round trip.