Trait AsyncFnMut3

Source
pub trait AsyncFnMut3<Arg0, Arg1, Arg2>: FnMut(Arg0, Arg1, Arg2) -> Self::OutputFuture {
    type OutputFuture: Future<Output = <Self as AsyncFnMut3<Arg0, Arg1, Arg2>>::Output>;
    type Output;
}
Expand description

A synonym for future-returning FnMut-bounds with 3 arguments

The bound

F: AsyncFnMut3<Arg0, Arg1, Arg2, Output = R>,

is equivalent to something like

F: FnMut(Arg0, Arg1, Arg2) -> Fut,
Fut: Future<Output = R>,

Required Associated Types§

Source

type OutputFuture: Future<Output = <Self as AsyncFnMut3<Arg0, Arg1, Arg2>>::Output>

Source

type Output

Implementors§

Source§

impl<F, Fut, Arg0, Arg1, Arg2> AsyncFnMut3<Arg0, Arg1, Arg2> for F
where F: FnMut(Arg0, Arg1, Arg2) -> Fut + ?Sized, Fut: Future,