select

Macro select 

Source
macro_rules! select {
    {
        $pat1:pat = $fut1:expr => $body1:block,
        $pat2:pat = $fut2:expr => $body2:block $(,)?
    } => { ... };
}