5 class rust_chan : public rc_base<rust_chan>, public task_owned<rust_chan> {
7 rust_chan(rust_task *task, rust_port *port);
13 size_t idx; // Index into port->chans.
15 // Token belonging to this chan, it will be placed into a port's
16 // writers vector if we have something to send to the port.
22 #endif /* RUST_CHAN_H */