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