I think you need this part which handles the async calls https://github.com/xoriors/rencfs/blob/921c1a968ccc3298ba476584b5ea1acc1409a791/src/crypto/fs_api/fs.rs#L389-L401