Commit b4e6df0 1 parent d901694 commit b4e6df0 Copy full SHA for b4e6df0
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use crate::mssql::MssqlConnectOptions;
26
26
/// postgres://postgres:password@localhost/database
27
27
/// mysql://root:password@localhost/database
28
28
/// ```
29
- #[ derive( Debug ) ]
29
+ #[ derive( Debug , Clone ) ]
30
30
pub struct AnyConnectOptions ( pub ( crate ) AnyConnectOptionsKind ) ;
31
31
32
32
impl AnyConnectOptions {
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ impl LogSettings {
152
152
}
153
153
}
154
154
155
- pub trait ConnectOptions : ' static + Send + Sync + FromStr < Err = Error > + Debug {
155
+ pub trait ConnectOptions : ' static + Send + Sync + FromStr < Err = Error > + Debug + Clone {
156
156
type Connection : Connection + ?Sized ;
157
157
158
158
/// Establish a new database connection with the options specified by `self`.
You can’t perform that action at this time.
0 commit comments