pub fn into_u32<F>(function: F) -> XilaFileSystemResultwhere F: FnOnce() -> Result<(), Error>,
This function is used to convert a function returning a Result into a u32.