[][src]Struct act_zero::async_fn::AsyncMap

pub struct AsyncMap<F, G> { /* fields omitted */ }

Return type of AsyncFnOnce::map and AsyncMutFnOnce::map.

Trait Implementations

impl<F, G, T, R> AsyncFnOnce<T> for AsyncMap<F, G> where
    F: AsyncFnOnce<T>,
    G: FnOnce(F::Output, &T) -> R + Send + 'static,
    R: Send + 'static,
    T: Sync
[src]

type Output = R

Output type of the returned future.

impl<F, G, T, R> AsyncMutFnOnce<T> for AsyncMap<F, G> where
    F: AsyncMutFnOnce<T> + Send + 'static,
    G: FnOnce(F::Output, &mut T) -> R + Send + 'static,
    R: Send + 'static,
    T: Send
[src]

type Output = R

Output type of the returned future.

Auto Trait Implementations

impl<F, G> RefUnwindSafe for AsyncMap<F, G> where
    F: RefUnwindSafe,
    G: RefUnwindSafe

impl<F, G> Send for AsyncMap<F, G> where
    F: Send,
    G: Send

impl<F, G> Sync for AsyncMap<F, G> where
    F: Sync,
    G: Sync

impl<F, G> Unpin for AsyncMap<F, G> where
    F: Unpin,
    G: Unpin

impl<F, G> UnwindSafe for AsyncMap<F, G> where
    F: UnwindSafe,
    G: 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<T> From<T> for T[src]

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

impl<T, E> IntoResult<T, E> for T[src]

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.