Skip to content

Commit 3650d4a

Browse files
committed
Implement traits for NoTls
Closes #495
1 parent c92e95d commit 3650d4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tokio-postgres/src/tls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub trait TlsConnect<S> {
7171
/// A `MakeTlsConnect` and `TlsConnect` implementation which simply returns an error.
7272
///
7373
/// This can be used when `sslmode` is `none` or `prefer`.
74+
#[derive(Debug, Copy, Clone)]
7475
pub struct NoTls;
7576

7677
#[cfg(feature = "runtime")]

0 commit comments

Comments
 (0)