We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9db2bf commit aa0fca4Copy full SHA for aa0fca4
1 file changed
tokio-postgres/src/lib.rs
@@ -70,6 +70,7 @@ impl Client {
70
}
71
72
73
+#[must_use = "futures do nothing unless polled"]
74
pub struct Connection(proto::Connection);
75
76
impl Connection {
@@ -91,6 +92,7 @@ impl Future for Connection {
91
92
93
94
95
96
pub struct Handshake(proto::HandshakeFuture);
97
98
impl Future for Handshake {
@@ -104,6 +106,7 @@ impl Future for Handshake {
104
106
105
107
108
109
110
pub struct Prepare(proto::PrepareFuture);
111
112
impl Future for Prepare {
0 commit comments