[−][src]Struct actix_interop::FutureInteropWrap
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
fn poll(
self: Pin<&mut Self>,
actor: &mut A,
ctx: &mut A::Context,
task: &mut Context
) -> Poll<Self::Output>
[src]
self: Pin<&mut Self>,
actor: &mut A,
ctx: &mut A::Context,
task: &mut Context
) -> Poll<Self::Output>
fn map<F, U>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
[src]
F: FnOnce(Self::Output, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> U,
fn then<F, B>(self, f: F) -> Then<Self, B, F> where
B: IntoActorFuture<Actor = Self::Actor>,
F: FnOnce(Self::Output, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> B,
[src]
B: IntoActorFuture<Actor = Self::Actor>,
F: FnOnce(Self::Output, &mut Self::Actor, &mut <Self::Actor as Actor>::Context) -> B,
fn timeout(self, timeout: Duration) -> Timeout<Self>
[src]
impl<A: Debug + Actor, F: Debug> Debug for FutureInteropWrap<A, F> where
A::Context: Debug,
[src]
A::Context: Debug,
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]
__FutureInteropWrap<'pin, A, F>: Unpin,
Auto Trait Implementations
impl<A, F> RefUnwindSafe for FutureInteropWrap<A, F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, F> Send for FutureInteropWrap<A, F> where
F: Send,
F: Send,
impl<A, F> Sync for FutureInteropWrap<A, F> where
F: Sync,
F: Sync,
impl<A, F> UnwindSafe for FutureInteropWrap<A, F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<A, T> ContextFutureSpawner<A> for T where
A: Actor,
T: ActorFuture<Output = (), Actor = A> + 'static,
<A as Actor>::Context: AsyncContext<A>,
[src]
A: Actor,
T: ActorFuture<Output = (), Actor = A> + 'static,
<A as Actor>::Context: AsyncContext<A>,
fn spawn(self, ctx: &mut <A as Actor>::Context)
[src]
fn wait(self, ctx: &mut <A as Actor>::Context)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<F> IntoActorFuture for F where
F: ActorFuture,
[src]
F: ActorFuture,
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
fn into_future(self) -> F
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,