mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-30 14:32:23 +00:00
Make all ConnectOptions clonable (#1612)
This commit is contained in:
parent
f328cc15d8
commit
a68957b21f
@ -152,7 +152,7 @@ impl LogSettings {
|
||||
}
|
||||
}
|
||||
|
||||
pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug {
|
||||
pub trait ConnectOptions: 'static + Send + Sync + FromStr<Err = Error> + Debug + Clone {
|
||||
type Connection: Connection + ?Sized;
|
||||
|
||||
/// Establish a new database connection with the options specified by `self`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user