Module std::select

Traits

Select

Trait for message-passing primitives that can be select()ed on.

SelectPort

Trait for message-passing primitives that can use the select2() convenience wrapper.

Functions

select

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.)