Function option_into_with_c_str

fn option_into_with_c_str<T, F, A>(arg: Option<A>, f: F) -> Result<T>
where
    A: Arg + Sized,
    F: FnOnce(Option<&CStr>) -> Result<T>

Runs a closure on arg where A is mapped to a &CStr