Skip to main content

file_stream

Function file_stream 

Source
pub fn file_stream(
    file: File,
) -> Pin<Box<dyn Stream<Item = Result<Bytes, StoreError>> + Send>>
Expand description

Read an open file as bounded chunks. O(chunk) resident.