[−][src]Struct act_zero::async_fn::BindOutput
Return type of AsyncFnOnce::bind_output and AsyncMutFnOnce::bind_output.
Trait Implementations
impl<F, T, R> AsyncFnOnce<T> for BindOutput<F, R> where
F: AsyncFnOnce<T, Output = R>,
R: Send + 'static, [src]
F: AsyncFnOnce<T, Output = R>,
R: Send + 'static,
type Output = ()
Output type of the returned future.
fn call(self, arg: &T) -> BoxFuture<'_, ()>[src]
fn call_boxed(self: Box<Self>, arg: &T) -> BoxFuture<'_, Self::Output>[src]
fn map<G, R>(self, g: G) -> AsyncMap<Self, G> where
G: FnOnce(Self::Output, &T) -> R,
Self: Sized, [src]
G: FnOnce(Self::Output, &T) -> R,
Self: Sized,
fn bind_output(self, tx: Sender<Self::Output>) -> BindOutput<Self, Self::Output> where
Self: Sized, [src]
Self: Sized,
impl<F, T, R> AsyncMutFnOnce<T> for BindOutput<F, R> where
F: AsyncMutFnOnce<T, Output = R>,
R: Send + 'static, [src]
F: AsyncMutFnOnce<T, Output = R>,
R: Send + 'static,
type Output = ()
Output type of the returned future.
fn call(self, arg: &mut T) -> BoxFuture<'_, ()>[src]
fn call_boxed(self: Box<Self>, arg: &mut T) -> BoxFuture<'_, Self::Output>[src]
fn map<G, R>(self, g: G) -> AsyncMap<Self, G> where
G: FnOnce(Self::Output, &mut T) -> R,
Self: Sized, [src]
G: FnOnce(Self::Output, &mut T) -> R,
Self: Sized,
fn bind_output(self, tx: Sender<Self::Output>) -> BindOutput<Self, Self::Output> where
Self: Sized, [src]
Self: Sized,
Auto Trait Implementations
impl<F, R> !RefUnwindSafe for BindOutput<F, R>
impl<F, R> Send for BindOutput<F, R> where
F: Send,
R: Send,
F: Send,
R: Send,
impl<F, R> Sync for BindOutput<F, R> where
F: Sync,
R: Send,
F: Sync,
R: Send,
impl<F, R> Unpin for BindOutput<F, R> where
F: Unpin,
F: Unpin,
impl<F, R> !UnwindSafe for BindOutput<F, R>
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<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, E> IntoResult<T, E> for T[src]
fn into_result(Self) -> Result<T, E>[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>,