We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ab8f1a commit 0c05614Copy full SHA for 0c05614
tokio-postgres/src/connection.rs
@@ -302,6 +302,9 @@ where
302
///
303
/// The server can send notices as well as notifications asynchronously to the client. Applications that wish to
304
/// examine those messages should use this method to drive the connection rather than its `Future` implementation.
305
+ ///
306
+ /// Return values of `None` or `Some(Err(_))` are "terminal"; callers should not invoke this method again after
307
+ /// receiving one of those values.
308
pub fn poll_message(
309
&mut self,
310
cx: &mut Context<'_>,
0 commit comments