diff --git a/sqlx-core/src/connection.rs b/sqlx-core/src/connection.rs index 402a198c9e..4fb103a2ee 100644 --- a/sqlx-core/src/connection.rs +++ b/sqlx-core/src/connection.rs @@ -152,7 +152,7 @@ impl LogSettings { } } -pub trait ConnectOptions: 'static + Send + Sync + FromStr + Debug { +pub trait ConnectOptions: 'static + Send + Sync + FromStr + Debug + Clone { type Connection: Connection + ?Sized; /// Establish a new database connection with the options specified by `self`.