Skip to content

Commit 5758ccc

Browse files
committed
Make SslMode Sync+Send
1 parent 9cd5425 commit 5758ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ pub enum SslMode {
467467
/// The connection will not use SSL.
468468
None,
469469
/// The connection will use SSL if the backend supports it.
470-
Prefer(Box<NegotiateSsl>),
470+
Prefer(Box<NegotiateSsl+std::marker::Sync+Send>),
471471
/// The connection must use SSL.
472-
Require(Box<NegotiateSsl>),
472+
Require(Box<NegotiateSsl+std::marker::Sync+Send>),
473473
}
474474

475475
#[derive(Clone)]

0 commit comments

Comments
 (0)