We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6224a6d commit 364da3dCopy full SHA for 364da3d
src/lib.rs
@@ -72,18 +72,12 @@ impl error::Error for Error {
72
/// }
73
74
/// ```
75
+#[derive(Debug)]
76
pub struct PostgresConnectionManager {
77
params: postgres::ConnectParams,
78
ssl_mode: SslMode,
79
}
80
-impl fmt::Debug for PostgresConnectionManager {
81
- fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
82
- write!(fmt, "PostgresConnectionManager {{ parameters: {:?}, ssl_mode: {:?} }}",
83
- self.params, self.ssl_mode)
84
- }
85
-}
86
-
87
impl PostgresConnectionManager {
88
/// Creates a new `PostgresConnectionManager`.
89
///
0 commit comments