Skip to content

Commit 3650d4a

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)