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 6128425 commit 08678bdCopy full SHA for 08678bd
src/lib.rs
@@ -15,6 +15,7 @@ use postgres::{IntoConnectParams, SslMode};
15
use postgres::types::ToSql;
16
17
/// A unified enum of errors returned by postgres::Connection
18
+#[deriving(Clone)]
19
pub enum Error {
20
/// A postgres::ConnectError
21
Connect(postgres::ConnectError),
@@ -115,6 +116,7 @@ impl r2d2::PoolManager<postgres::Connection, Error> for PostgresPoolManager {
115
116
}
117
118
/// Configuration options for the `CachingStatementManager`.
119
+#[deriving(Copy, Clone)]
120
pub struct Config {
121
/// The number of `postgres::Statement`s that will be internally cached.
122
///
0 commit comments