Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c05614

Browse files
committed
Clarify poll_message docs
Closes#975
1 parent8ab8f1a commit0c05614

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎tokio-postgres/src/connection.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ where
302302
///
303303
/// The server can send notices as well as notifications asynchronously to the client. Applications that wish to
304304
/// 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.
305308
pubfnpoll_message(
306309
&mutself,
307310
cx:&mutContext<'_>,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp