summary refs log tree commit diff
path: root/src/rt/rust_chan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_chan.h')
-rw-r--r--src/rt/rust_chan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rt/rust_chan.h b/src/rt/rust_chan.h
index 9dbd9337a18..99ace5c5294 100644
--- a/src/rt/rust_chan.h
+++ b/src/rt/rust_chan.h
@@ -25,6 +25,12 @@ public:
     rust_chan *clone(rust_task *target);
 };
 
+// Corresponds to the rust chan (currently _chan) type.
+struct chan_handle {
+    rust_task_id task;
+    rust_port_id port;
+};
+
 //
 // Local Variables:
 // mode: C++