Function actix::fut::future::wrap_future
source · pub fn wrap_future<F, A>(f: F) -> FutureWrap<F, A>Expand description
Converts normal future into ActorFuture, allowing its processing to
use the actor’s state.
See the documentation for ActorFuture for a practical example involving both
wrap_future and ActorFuture