Struct sea_orm_rocket::MockPool [−][src]
pub struct MockPool;Expand description
A mock object which impl Pool, for testing only
Trait Implementations
type Error = MockPoolErr
type Error = MockPoolErr
The error type returned by Self::init().
type Connection = bool
type Connection = bool
The connection type managed by this pool.
Borrows a reference to the pool
Auto Trait Implementations
impl RefUnwindSafe for MockPool
impl UnwindSafe for MockPool
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
