pub struct PostgresqlConnectionFactory {
pub configuration: PostgresqlConnectionConfiguration,
}
Fields§
§configuration: PostgresqlConnectionConfiguration
Trait Implementations§
Source§impl ConnectionFactory for PostgresqlConnectionFactory
impl ConnectionFactory for PostgresqlConnectionFactory
Source§fn connect(
&self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Connection + 'static>>> + Send>>
fn connect( &self, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Connection + 'static>>> + Send>>
Establish a new database connection with the options specified by ConnectionOptions.
Source§fn get_metadata(&self) -> Box<dyn ConnectionFactoryMetadata>
fn get_metadata(&self) -> Box<dyn ConnectionFactoryMetadata>
Returns the ConnectionFactoryMetadata about the product this ConnectionFactory is applicable to.
Source§impl ConnectionFactoryProvider for PostgresqlConnectionFactory
impl ConnectionFactoryProvider for PostgresqlConnectionFactory
type C = PostgresqlConnectionFactory
fn create( connection_factory_options: ConnectionFactoryOptions, ) -> Result<Self::C>
Auto Trait Implementations§
impl Freeze for PostgresqlConnectionFactory
impl RefUnwindSafe for PostgresqlConnectionFactory
impl Send for PostgresqlConnectionFactory
impl Sync for PostgresqlConnectionFactory
impl Unpin for PostgresqlConnectionFactory
impl UnwindSafe for PostgresqlConnectionFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more