pub fn fd_readdir<'a>(
    ctx: &'a mut impl WasiSnapshotPreview1,
    memory: &'a dyn GuestMemory,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i64,
    arg4: i32
) -> impl Future<Output = Result<i32>> + 'a