Skip to main content

Module channel

Module channel 

Source
Expand description

Channels — FIFO, bounded, move-semantics pipes (the language’s Pipe).

A channel carries RtPayload values in FIFO order. Capacity Some(n) bounds the buffer (a full channel blocks senders); Some(0) is a rendezvous channel (every send hands off directly to a receiver); None is unbounded.

Structs§

ChanId
A scheduler-assigned channel handle.