pub trait FutureInterop<A: Actor>: Future + Sized {
    fn interop_actor(self, actor: &A) -> FutureInteropWrap<A, Self>;

    fn interop_actor_boxed(
        self,
        actor: &A
    ) -> ResponseActFuture<A, Self::Output>
    where
        Self: 'static
, { ... } }
Expand description

Extension trait implemented for all futures. Import this trait to bring the interop_actor and interop_actor_boxed methods into scope.

Required Methods

Convert a future using the with_ctx or critical_section methods into an ActorFuture.

Provided Methods

Convert a future using the with_ctx or critical_section methods into a boxed ActorFuture.

Implementors