Xuanwo commented on PR #3763:
URL:
https://github.com/apache/incubator-opendal/pull/3763#issuecomment-1862092315
> Just as the _`close`_ method in the `HdfsWriter<hdrs::File>`.It's more
intuitive,but `hdrs::Asyncfile` only has _`poll_close()`_ I hope to support
`flush()` to achieve `Box::pin(async move {})`.
`hdrs::Asyncfile` implements
[AsyncWrite](https://docs.rs/futures/latest/futures/io/trait.AsyncWrite.html)
which means it also implements
[AsyncWriteExt](https://docs.rs/futures/latest/futures/io/trait.AsyncWriteExt.html).
So you can use `AsyncWriteExt::close()` here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]