pub trait IntoStateExt<E>: Future<Output = Result<State<E>, E>> {
// Provided methods
fn into_state(self) -> State<E>
where Self: Sized + 'static { ... }
fn into_state_machine(self) -> StateMachine<E> ⓘ
where Self: Sized + 'static { ... }
}Provided Methods§
fn into_state(self) -> State<E>where
Self: Sized + 'static,
fn into_state_machine(self) -> StateMachine<E> ⓘwhere
Self: Sized + 'static,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".