Enum rotor::Compose2
[−]
[src]
pub enum Compose2<A: Sized, B: Sized> { A(A), B(B), }
Composes two state machines
Used to "mount" two different application into single main loop, or to use multiple protocols simultaneously. Can be nested to any level.
We will probably implement n > 2 composition later, for effeciency reasons.
Variants
A | ||
B |