Skip to main content

try_take

Function try_take 

Source
pub fn try_take(handle: Handle, dst: &mut Vec<u64>) -> Result<()>
Available on crate feature pager and Unix only.
Expand description

Fallible counterpart to take. On I/O error the handle is consumed and dst may hold partial data; the scratch file is unlinked on inner drop.