1 2 3 4 5
/// Auxiliary macro for `poll_state_xy` functions to transition into a new state. #[macro_export] macro_rules! transition { ( $new_state:expr ) => (return Ok(::futures::Async::Ready($new_state.into()))); }