pub fn select<A: Select>(ports: &mut [A]) -> uint
Receive a message from any one of many ports at once. Returns the index of the port whose data is ready. (If multiple are ready, returns the lowest index.)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).