Trait diesel_connection::ConnectionInfo
source · pub trait ConnectionInfo: ServiceURL {
type Connection: R2D2Connection + 'static;
// Provided method
fn create_pool(
) -> Result<Pool<ConnectionManager<Self::Connection>>, ParseError> { ... }
}
Required Associated Types§
type Connection: R2D2Connection + 'static
Provided Methods§
fn create_pool( ) -> Result<Pool<ConnectionManager<Self::Connection>>, ParseError>
Object Safety§
This trait is not object safe.