Function rg::args::u64_to_usize

source ·
fn u64_to_usize(
    arg_name: &str,
    value: Option<u64>
) -> Result<Option<usize>, Box<dyn Error>>
Expand description

Convert the result of parsing a human readable file size to a usize, failing if the type does not fit.