Skip to content

Commit a68957b

Browse files
authored
Make all ConnectOptions clonable (#1612)
1 parent f328cc1 commit a68957b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/connection.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ impl LogSettings {
152152
}
153153
}
154154

155-
pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug {
155+
pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug + Clone {
156156
type Connection: Connection + ?Sized;
157157

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

0 commit comments

Comments
 (0)