10 releases

Uses old Rust 2015

0.1.9 May 2, 2018
0.1.8 Mar 5, 2018
0.1.7 Feb 21, 2018
0.1.5 May 16, 2017
0.1.1 Dec 17, 2016

#177 in Rust patterns

Download history 349539/week @ 2025-06-14 372931/week @ 2025-06-21 353508/week @ 2025-06-28 381629/week @ 2025-07-05 413341/week @ 2025-07-12 422903/week @ 2025-07-19 423296/week @ 2025-07-26 427589/week @ 2025-08-02 427977/week @ 2025-08-09 521655/week @ 2025-08-16 520714/week @ 2025-08-23 546580/week @ 2025-08-30 464438/week @ 2025-09-06 456773/week @ 2025-09-13 492848/week @ 2025-09-20 501485/week @ 2025-09-27

1,995,887 downloads per month
Used in 2,208 crates (36 directly)

MIT/Apache

24KB
712 lines

Fallible, streaming iteration.

FallibleStreamingIterator differs from the standard library's Iterator trait in two ways: iteration can fail, resulting in an error, and only one element of the iteration is available at any time.

While these iterators cannot be used with Rust for loops, while let loops offer a similar level of ergonomics:

while let Some(value) = it.next()? {
    // use value
}

fallible-streaming-iterator

CircleCI

Documentation

Fallible, streaming iteration

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

Features