#stream #future #state #version #completion #value #complete

futures-state-stream

A version of the futures crate's Stream which returns state on completion

3 unstable releases

Uses old Rust 2015

0.2.0 Sep 30, 2017
0.1.1 Jun 25, 2017
0.1.0 Dec 26, 2016

#1340 in Asynchronous

Download history 17/week @ 2023-11-29 9/week @ 2023-12-06 19/week @ 2023-12-13 69/week @ 2023-12-20 86/week @ 2023-12-27 58/week @ 2024-01-03 74/week @ 2024-01-10 147/week @ 2024-01-17 74/week @ 2024-01-24 65/week @ 2024-01-31 40/week @ 2024-02-07 71/week @ 2024-02-14 121/week @ 2024-02-21 92/week @ 2024-02-28 53/week @ 2024-03-06 59/week @ 2024-03-13

348 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

18KB
485 lines

futures-state-stream

CircleCI

Documentation

A version of the futures crate's Stream which returns state on completion

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.


lib.rs:

A version of the futures crate's Stream which returns a state value when it completes.

This is useful in contexts where a value "becomes" a stream for a period of time, but then switches back to its original type.

Dependencies

~53KB