[−][src]Trait sqlx_core::connection::Connect
Represents a type that can directly establish a new connection.
Required methods
fn connect<T>(url: T) -> BoxFuture<'static, Result<Self>> where
T: TryInto<Url, Error = ParseError>,
Self: Sized,
T: TryInto<Url, Error = ParseError>,
Self: Sized,
Establish a new database connection.