Skip to main content

drain_file

Function drain_file 

Source
pub fn drain_file(reader: impl Read, file: File, maximum: usize) -> Result<()>
Expand description

Bounded on-disk diagnostics, with pipes drained after cap is reached.