Struct backend::pool::PgDb [−][src]
pub struct PgDb(_);
Expand description
PostgreSQL Connection Pool
Trait Implementations
type Pool = SeaOrmPool
type Pool = SeaOrmPool
Returns a fairing that initializes the database and its connection pool. Read more
Returns a reference to the initialized database in rocket
. The
initializer fairing returned by init()
must have already executed for
Option
to be Some
. This is guaranteed to be the case if the fairing
is attached and either: Read more
type Target = SeaOrmPool
type Target = SeaOrmPool
The resulting type after dereferencing.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for PgDb
impl !UnwindSafe for PgDb
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more