pub fn fold_<T, E, Iter: Iterator<Result<T, E>>>(iterator: Iter) -> Result<(), E>
Perform a trivial fold operation over the result values from an iterator.
If an Err
is encountered, it is immediately returned.
Otherwise, a simple Ok(())
is returned.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).