Type Alias rocket_sync_db_pools::PoolResult
source · pub type PoolResult<P: Poolable> = Result<Pool<P::Manager>, Error<P::Error>>;
Expand description
A type alias for the return type of Poolable::pool()
.
Aliased Type§
enum PoolResult<P: Poolable> {
Ok(Pool<<P as Poolable>::Manager>),
Err(Error<<P as Poolable>::Error>),
}