tokio-rs / tokio

A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

Home Page:https://tokio.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document cancelation safety `AsyncBufReadExt::fill_buf`

jkalez opened this issue · comments

Version
1.36

Platform
All

Description
Documentation does not comment on the cancellation safety of AsyncBufReadExt::fill_buf. In my experimentation and in reading the source, I have not been able to determine the cancellation safety of fill_buf. Hopefully developers more familiar with the code can provide this information.

Thanks. That should definitely be fixed. The method is cancellation safe.