pub trait IntoStateExt<E>: Future<Output = Result<State<E>, E>> {
    // Provided methods
    fn into_state(self) -> State<E>
       where Self: Sized + Send + 'static { ... }
    fn into_state_machine(self) -> StateMachine<E> 
       where Self: Sized + Send + 'static { ... }
}

Provided Methods§

source

fn into_state(self) -> State<E>
where Self: Sized + Send + 'static,

source

fn into_state_machine(self) -> StateMachine<E>
where Self: Sized + Send + 'static,

Implementors§

source§

impl<F, E> IntoStateExt<E> for F
where F: Future<Output = Result<State<E>, E>>,