FnOnce1
futures_
util
0.3.31
FnOnce1
Required Associated Types
Output
Required Methods
call_once
Implementors
In futures_
util::
fns
Macros
trivial_fn_impls
Structs
ChainFn
InspectErrFn
InspectFn
InspectOkFn
IntoFn
MapErrFn
MapOkFn
MergeResultFn
OkFn
UnwrapOrElseFn
Traits
Fn1
FnMut1
FnOnce1
Functions
chain_fn
inspect_err_fn
inspect_fn
inspect_ok_fn
into_fn
map_err_fn
map_ok_fn
map_ok_or_else_fn
merge_result_fn
ok_fn
unwrap_or_else_fn
Type Aliases
MapOkOrElseFn
futures_util
::
fns
Trait
FnOnce1
Copy item path
Settings
Help
Summary
Source
pub trait FnOnce1<A> { type
Output
; // Required method fn
call_once
(self, arg: A) -> Self::
Output
; }
Required Associated Types
§
Source
type
Output
Required Methods
§
Source
fn
call_once
(self, arg: A) -> Self::
Output
Implementors
§
Source
§
impl<'a, F, T, E>
FnOnce1
<&'a
Result
<T, E>> for
InspectErrFn
<F>
where F:
FnOnce1
<
&'a E
, Output =
()
>,
Source
§
type
Output
=
()
Source
§
impl<'a, F, T, E>
FnOnce1
<&'a
Result
<T, E>> for
InspectOkFn
<F>
where F:
FnOnce1
<
&'a T
, Output =
()
>,
Source
§
type
Output
=
()
Source
§
impl<A, E>
FnOnce1
<A> for
OkFn
<E>
Source
§
type
Output
=
Result
<A, E>
Source
§
impl<A, T>
FnOnce1
<A> for
IntoFn
<T>
where A:
Into
<T>,
Source
§
type
Output
= T
Source
§
impl<F, A>
FnOnce1
<A> for
InspectFn
<F>
where F: for<'a>
FnOnce1
<
&'a A
, Output =
()
>,
Source
§
type
Output
= A
Source
§
impl<F, G, A>
FnOnce1
<A> for
ChainFn
<F, G>
where F:
FnOnce1
<A>, G:
FnOnce1
<F::
Output
>,
Source
§
type
Output
= <G as
FnOnce1
<<F as
FnOnce1
<A>>::
Output
>>::
Output
Source
§
impl<F, T, E>
FnOnce1
<
Result
<T, E>> for
MapErrFn
<F>
where F:
FnOnce1
<E>,
Source
§
type
Output
=
Result
<T, <F as
FnOnce1
<E>>::
Output
>
Source
§
impl<F, T, E>
FnOnce1
<
Result
<T, E>> for
MapOkFn
<F>
where F:
FnOnce1
<T>,
Source
§
type
Output
=
Result
<<F as
FnOnce1
<T>>::
Output
, E>
Source
§
impl<F, T, E>
FnOnce1
<
Result
<T, E>> for
UnwrapOrElseFn
<F>
where F:
FnOnce1
<E, Output = T>,
Source
§
type
Output
= T
Source
§
impl<T>
FnOnce1
<
Result
<T, T>> for
MergeResultFn
Source
§
type
Output
= T
Source
§
impl<T, A, R>
FnOnce1
<A> for T
where T:
FnOnce
(A) -> R,
Source
§
type
Output
= R
Source
§
impl<T, Item>
FnOnce1
<
&Item
> for
NextIfEqFn
<'_, T, Item>
where T: ?
Sized
, Item:
PartialEq
<T>,
Source
§
type
Output
=
bool