cargo_mobile2::util

Function with_working_dir

source
pub fn with_working_dir<T, E, IE>(
    working_dir: impl AsRef<Path>,
    f: impl FnOnce() -> Result<T, IE>,
) -> Result<T, WithWorkingDirError<E>>
where E: StdError + From<IE>,