[][src]Macro enum_future::enum_future

macro_rules! enum_future {
    ($name:ident, $first:ident, $($other:ident),*) => { ... };
}

Creates a generic enum of type $name with variants $first, $($other,)*, each containing a single value of possibly different type. The enum implements Future by delegating to the value of appropriate variant.