pub fn out_of_order<'a, T: 'a, F: 'a + Fn() -> T + Send>(
        state: Arc<Mutex<OutOfOrderState>>,
        value: F,
    ) -> BoxFuture<'a, T> {
        Box::pin(OutOfOrderFuture { value, state })
    }
// Returns a future for the given state object. If multiple futures are created from the same
// shared state, the first to be polled resolves after the second.
Returns a future for the given state object. If multiple futures are created from the same
shared state, the first to be polled resolves after the second.
Returns a future for the given state object . If multiple futures are created from the same shared state the first to be polled resolves after the second .
pub fn out_of_order<'a, T: 'a, F: 'a + Fn() -> T + Send>(
        state: Arc<Mutex<OutOfOrderState>>,
        value: F,
    ) -> BoxFuture<'a, T> {
        Box::pin(OutOfOrderFuture { value, state })
    }
pub fn out_of_order < ' a , T : ' a , F : ' a + Fn ( ) -> T + Send > ( state : Arc < Mutex < OutOfOrderState > > , value : F , ) -> BoxFuture < ' a , T > { Box :: pin ( OutOfOrderFuture { value , state } ) }
Returns a future for the given state object.
Returns a future for the given state object .
state
Arc<Mutex<OutOfOrderState>>
value
F
state
Arc<Mutex<OutOfOrderState>>
value
F