We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 760e4a4 commit 45b0789Copy full SHA for 45b0789
1 file changed
postgres/src/client.rs
@@ -108,6 +108,18 @@ impl Client {
108
pub fn is_closed(&self) -> bool {
109
self.0.is_closed()
110
}
111
+
112
+ pub fn get_ref(&self) -> &tokio_postgres::Client {
113
+ &self.0
114
+ }
115
116
+ pub fn get_mut(&mut self) -> &mut tokio_postgres::Client {
117
+ &mut self.0
118
119
120
+ pub fn into_inner(self) -> tokio_postgres::Client {
121
+ self.0
122
123
124
125
impl From<tokio_postgres::Client> for Client {
0 commit comments