(err: ErrorBorrow)
| 1296 | debug!("CALL wasi:filesystem/types#read-directory-entry SID={self:?}"); |
| 1297 | match self { |
| 1298 | Self::Static { entry, idx } => entry.next(idx), |
| 1299 | Self::Host(sid) => sid |
| 1300 | .read_directory_entry() |
| 1301 | .map(|e| e.map(dir_map)) |
| 1302 | .map_err(err_map), |
| 1303 | } |
| 1304 | } |
| 1305 | } |
| 1306 | |
| 1307 | impl GuestHttpTypes for VirtAdapter { |