Skip to content

Commit

Permalink
Implemented poll_flush for Box<S:Socket> (#2742)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobozaur committed Sep 12, 2023
1 parent 2e4533e commit 4d12ca4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sqlx-core/src/net/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ impl<S: Socket + ?Sized> Socket for Box<S> {
(**self).poll_write_ready(cx)
}

fn poll_flush(&mut self, cx: &mut Context<'_>) -> Poll<io::Result<()>> {
(**self).poll_flush(cx)
}

fn poll_shutdown(&mut self, cx: &mut Context<'_>) -> Poll<io::Result<()>> {
(**self).poll_shutdown(cx)
}
Expand Down

0 comments on commit 4d12ca4

Please sign in to comment.