[][src]Trait sqlx_core::connection::ConnectOptions

pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug {
    type Connection: Connection + ?Sized;
    fn connect(&self) -> BoxFuture<Result<Self::Connection, Error>>
    where
        Self::Connection: Sized
; }

Associated Types

Loading content...

Required methods

fn connect(&self) -> BoxFuture<Result<Self::Connection, Error>> where
    Self::Connection: Sized

Establish a new database connection with the options specified by self.

Loading content...

Implementors

Loading content...