Struct backend::pool::SeaOrmPool [−][src]
pub struct SeaOrmPool {
pub connection: DatabaseConnection,
}
Fields
connection: DatabaseConnection
Trait Implementations
Performs the conversion.
type Connection = DatabaseConnection
type Connection = DatabaseConnection
The connection type managed by this pool, returned by Self::get()
.
type Error = DbErr
type Error = DbErr
The error type returned by Self::init()
and Self::get()
.
Auto Trait Implementations
impl !RefUnwindSafe for SeaOrmPool
impl Send for SeaOrmPool
impl Sync for SeaOrmPool
impl Unpin for SeaOrmPool
impl !UnwindSafe for SeaOrmPool
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