Trait futures_util::fns::FnMut1

source ·
pub trait FnMut1<A>: FnOnce1<A> {
    // Required method
    fn call_mut(&mut self, arg: A) -> Self::Output;
}

Required Methods§

source

fn call_mut(&mut self, arg: A) -> Self::Output

Implementors§

source§

impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectErrFn<F>
where F: FnMut1<&'a E, Output = ()>,

source§

impl<'a, F, T, E> FnMut1<&'a Result<T, E>> for InspectOkFn<F>
where F: FnMut1<&'a T, Output = ()>,

source§

impl<A> FnMut1<A> for MergeResultFn
where Self: FnOnce1<A>,

source§

impl<F, A> FnMut1<A> for InspectFn<F>
where F: for<'a> FnMut1<&'a A, Output = ()>,

source§

impl<F, G, A> FnMut1<A> for ChainFn<F, G>
where F: FnMut1<A>, G: FnMut1<F::Output>,

source§

impl<F, T, E> FnMut1<Result<T, E>> for MapErrFn<F>
where F: FnMut1<E>,

source§

impl<F, T, E> FnMut1<Result<T, E>> for MapOkFn<F>
where F: FnMut1<T>,

source§

impl<F, T, E> FnMut1<Result<T, E>> for UnwrapOrElseFn<F>
where F: FnMut1<E, Output = T>,

source§

impl<T, A> FnMut1<A> for IntoFn<T>
where Self: FnOnce1<A>,

source§

impl<T, A> FnMut1<A> for OkFn<T>
where Self: FnOnce1<A>,

source§

impl<T, A, R> FnMut1<A> for T
where T: FnMut(A) -> R,