[−][src]Struct eff::futures_compat::future::FromFuture
Trait Implementations
impl<F> Effectful for FromFuture<F> where
F: Future,
[src]
F: Future,
type Output = F::Output
The type of the final result
type Effect = !
The type of the effects this computation will produce
fn poll(self: Pin<&mut Self>, cx: &Context) -> Poll<Self::Output, Self::Effect>
[src]
fn handle<H, HC, Effect, I>(self, handler: H) -> Handled<Self, H, HC, Effect, I> where
Self: Sized,
HC: Effectful,
H: FnMut(Event<Self::Output, Effect>) -> HC,
Self::Effect: Subset<Effect, I>,
[src]
Self: Sized,
HC: Effectful,
H: FnMut(Event<Self::Output, Effect>) -> HC,
Self::Effect: Subset<Effect, I>,
fn embed<Target, Indices>(self) -> EmbedEffect<Self, Target, Indices> where
Self: Sized,
[src]
Self: Sized,
fn left<R>(self) -> Either<Self, R> where
Self: Sized,
[src]
Self: Sized,
fn right<L>(self) -> Either<L, Self> where
Self: Sized,
[src]
Self: Sized,
fn boxed<'a>(
self
) -> Pin<Box<dyn Effectful<Output = Self::Output, Effect = Self::Effect> + 'a>> where
Self: Sized + 'a,
[src]
self
) -> Pin<Box<dyn Effectful<Output = Self::Output, Effect = Self::Effect> + 'a>> where
Self: Sized + 'a,
fn output<T>(self) -> Self where
Self: Effectful<Output = T> + Sized,
[src]
Self: Effectful<Output = T> + Sized,
fn effect<E>(self) -> Self where
Self: Effectful<Effect = E> + Sized,
[src]
Self: Effectful<Effect = E> + Sized,
ⓘImportant traits for IntoFuture<C>fn into_future(self) -> IntoFuture<Self> where
Self: Effectful<Effect = !> + Sized,
[src]
ⓘImportant traits for IntoFuture<C>
Self: Effectful<Effect = !> + Sized,
fn block_on(self) -> Self::Output where
Self: Sized + Effectful<Effect = !>,
[src]
Self: Sized + Effectful<Effect = !>,
fn next_event(self) -> NextEvent<Self> where
Self: Sized,
[src]
Self: Sized,
impl<'pin, F> Unpin for FromFuture<F> where
__FromFuture<'pin, F>: Unpin,
[src]
__FromFuture<'pin, F>: Unpin,
impl<F: Debug> Debug for FromFuture<F>
[src]
Auto Trait Implementations
impl<F> Send for FromFuture<F> where
F: Send,
F: Send,
impl<F> Sync for FromFuture<F> where
F: Sync,
F: Sync,
impl<F> UnwindSafe for FromFuture<F> where
F: UnwindSafe,
F: UnwindSafe,
impl<F> RefUnwindSafe for FromFuture<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
Blanket Implementations
impl<T> EmbedRest<T, Zero> for T
[src]
fn embed_rest(Self) -> T
[src]
impl<Head, Tail, N, Rest> EmbedRest<Either<Head, Tail>, Succ<N>> for Rest where
Head: Effect,
Rest: EmbedRest<Tail, N>,
[src]
Head: Effect,
Rest: EmbedRest<Tail, N>,
fn embed_rest(Self) -> Either<Head, Tail>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[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<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<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,