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>),
}

Variants§

§1.0.0

Ok(Pool<<P as Poolable>::Manager>)

Contains the success value

§1.0.0

Err(Error<<P as Poolable>::Error>)

Contains the error value