Function rustix::path::option_into_with_c_str
source · pub fn option_into_with_c_str<T, F, A>(arg: Option<A>, f: F) -> Result<T>where
A: Sized + Arg,
F: FnOnce(Option<&CStr>) -> Result<T>,Expand description
Runs a closure on arg where A is mapped to a &CStr