Struct actix::fut::future::FutureWrap [−][src]
Trait Implementations
impl<F, A> ActorFuture<A> for FutureWrap<F, A> where
F: Future,
A: Actor,
[src]
F: Future,
A: Actor,
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>,
_: &mut A,
_: &mut A::Context,
task: &mut Context<'_>
) -> Poll<Self::Output>
[src]
self: Pin<&mut Self>,
_: &mut A,
_: &mut A::Context,
task: &mut Context<'_>
) -> Poll<Self::Output>
impl<'__pin, F, A> Unpin for FutureWrap<F, A> where
__Origin<'__pin, F, A>: Unpin,
F: Future,
A: Actor,
[src]
__Origin<'__pin, F, A>: Unpin,
F: Future,
A: Actor,
Auto Trait Implementations
impl<F, A> RefUnwindSafe for FutureWrap<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe,
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, A> Send for FutureWrap<F, A> where
A: Send,
F: Send,
A: Send,
F: Send,
impl<F, A> Sync for FutureWrap<F, A> where
A: Sync,
F: Sync,
A: Sync,
F: Sync,
impl<F, A> UnwindSafe for FutureWrap<F, A> where
A: UnwindSafe,
F: UnwindSafe,
A: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<F, A> ActorFutureExt<A> for F where
F: ActorFuture<A>,
A: Actor,
[src]
F: ActorFuture<A>,
A: Actor,
fn map<F, U>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> U,
Self: Sized,
[src]
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> U,
Self: Sized,
fn then<F, Fut>(self, f: F) -> Then<Self, Fut, F> where
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
Self: Sized,
[src]
F: FnOnce(Self::Output, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A>,
Self: Sized,
fn timeout(self, timeout: Duration) -> Timeout<Self> where
Self: Sized,
[src]
Self: Sized,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,