(&mut self, channel: G, data: impl Iterator<Item = G>)
| 87 | .ok_or(ExecError::IOReadOutOfBounds { idx, len }) |
| 88 | } |
| 89 | fn write(&mut self, channel: G, data: impl Iterator<Item = G>) { |
| 90 | self.data.entry(channel).or_default().extend(data) |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | /// Errors raised by Aiur bytecode execution. Mirrors the panic/assert sites |