Commit 6dc6535
authored
rust: Flag futures/streams as owned handles (#1210)
This commit updates how bindings work for futures/streams in Rust by
ensuring that the type information for them encodes that they behave
like `own<T>` handles in that passing the value to an import for
examples passes ownership of the value in bindings. This ensures that
generates APIs appropriately model relinquishing ownership of the
`FutureReader<T>` end, for example.1 parent 5a253b4 commit 6dc6535
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
201 | 205 | | |
202 | 206 | | |
203 | 207 | | |
| |||
0 commit comments