From a92a07b425e79de8b5a0fb8a906e03509afce0fb Mon Sep 17 00:00:00 2001 From: Bogdan Mircea Date: Sat, 9 Sep 2023 14:22:59 +0300 Subject: [PATCH] Implemented poll_flush for Box --- sqlx-core/src/net/socket/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sqlx-core/src/net/socket/mod.rs b/sqlx-core/src/net/socket/mod.rs index bcfa7f0616..cad4d5764a 100644 --- a/sqlx-core/src/net/socket/mod.rs +++ b/sqlx-core/src/net/socket/mod.rs @@ -173,6 +173,10 @@ impl Socket for Box { (**self).poll_write_ready(cx) } + fn poll_flush(&mut self, cx: &mut Context<'_>) -> Poll> { + (**self).poll_flush(cx) + } + fn poll_shutdown(&mut self, cx: &mut Context<'_>) -> Poll> { (**self).poll_shutdown(cx) }