#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

#1328 in Asynchronous

Download history 76/week @ 2024-03-11 71/week @ 2024-03-18 55/week @ 2024-03-25 207/week @ 2024-04-01 165/week @ 2024-04-08 99/week @ 2024-04-15 144/week @ 2024-04-22 124/week @ 2024-04-29 220/week @ 2024-05-06 138/week @ 2024-05-13 174/week @ 2024-05-20 356/week @ 2024-05-27 190/week @ 2024-06-03 108/week @ 2024-06-10 37/week @ 2024-06-17 139/week @ 2024-06-24

484 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