Function mpstthree::binary::select::select [−][src]
pub fn select<T, S>(
rs: Vec<Recv<T, S>>
) -> (Result<(T, S), Box<dyn Error>>, Vec<Recv<T, S>>) where
T: Send,
S: Session,
Expand description
Selects the first active session. Receives from the selected session. Returns the received value, the continuation of the selected session, and a copy of the input vector without the selected session.