Skip to main content

co_reader

Function co_reader 

Source
pub async fn co_reader(path: impl AsRef<Path>) -> Result<CoReader>
Available on crate features coroutine and fs only.
Expand description

Open a file for buffered asynchronous reading

Note that using a reader only really makes a difference if the file is large (i.e. does not fit in memory)