[][src]Struct actix_interop::FutureInteropWrap

pub struct FutureInteropWrap<A: Actor, F> { /* fields omitted */ }

Future to ActorFuture adapter returned by interop_actor.

Trait Implementations

impl<A: Actor, F: Future> ActorFuture for FutureInteropWrap<A, F>[src]

type Actor = A

The actor within which this future runs

type Output = F::Output

The type of value that this future will resolved with if it is successful. Read more

impl<A: Debug + Actor, F: Debug> Debug for FutureInteropWrap<A, F> where
    A::Context: Debug
[src]

impl<A: Actor, F> PinnedDrop for FutureInteropWrap<A, F>[src]

impl<'pin, A: Actor, F> Unpin for FutureInteropWrap<A, F> where
    __FutureInteropWrap<'pin, A, F>: Unpin
[src]

Auto Trait Implementations

impl<A, F> RefUnwindSafe for FutureInteropWrap<A, F> where
    F: RefUnwindSafe

impl<A, F> Send for FutureInteropWrap<A, F> where
    F: Send

impl<A, F> Sync for FutureInteropWrap<A, F> where
    F: Sync

impl<A, F> UnwindSafe for FutureInteropWrap<A, F> where
    F: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<A, T> ContextFutureSpawner<A> for T where
    A: Actor,
    T: ActorFuture<Output = (), Actor = A> + 'static,
    <A as Actor>::Context: AsyncContext<A>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> IntoActorFuture for F where
    F: ActorFuture
[src]

type Future = F

The future that this type can be converted into.

type Output = <F as ActorFuture>::Output

The item that the future may resolve with.

type Actor = <F as ActorFuture>::Actor

The actor within which this future runs

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,