mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
Implemented poll_flush for Box<S:Socket> (#2742)
This commit is contained in:
parent
2e4533eb32
commit
4d12ca4e1d
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue