futures_util
0.3.31
Fn1
Required Methods
call
Implementors
In futures_util::fns
Trait
futures_util
::
fns
::
Fn1
Copy item path
source
·
[
−
]
pub trait Fn1<A>:
FnMut1
<A> { // Required method fn
call
(&self, arg: A) -> Self::
Output
; }
Required Methods
§
source
fn
call
(&self, arg: A) -> Self::
Output
Implementors
§
source
§
impl<'a, F, T, E>
Fn1
<&'a
Result
<T, E>> for
InspectErrFn
<F>
where F:
Fn1
<
&'a E
, Output =
()
>,
source
§
impl<'a, F, T, E>
Fn1
<&'a
Result
<T, E>> for
InspectOkFn
<F>
where F:
Fn1
<
&'a T
, Output =
()
>,
source
§
impl<A>
Fn1
<A> for
MergeResultFn
where Self:
FnOnce1
<A>,
source
§
impl<F, A>
Fn1
<A> for
InspectFn
<F>
where F: for<'a>
Fn1
<
&'a A
, Output =
()
>,
source
§
impl<F, G, A>
Fn1
<A> for
ChainFn
<F, G>
where F:
Fn1
<A>, G:
Fn1
<F::
Output
>,
source
§
impl<F, T, E>
Fn1
<
Result
<T, E>> for
MapErrFn
<F>
where F:
Fn1
<E>,
source
§
impl<F, T, E>
Fn1
<
Result
<T, E>> for
MapOkFn
<F>
where F:
Fn1
<T>,
source
§
impl<F, T, E>
Fn1
<
Result
<T, E>> for
UnwrapOrElseFn
<F>
where F:
Fn1
<E, Output = T>,
source
§
impl<T, A>
Fn1
<A> for
IntoFn
<T>
where Self:
FnOnce1
<A>,
source
§
impl<T, A>
Fn1
<A> for
OkFn
<T>
where Self:
FnOnce1
<A>,
source
§
impl<T, A, R>
Fn1
<A> for T
where T:
Fn
(A) -> R,