#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

#1349 in Asynchronous

Download history 431/week @ 2024-07-22 143/week @ 2024-07-29 339/week @ 2024-08-05 573/week @ 2024-08-12 549/week @ 2024-08-19 301/week @ 2024-08-26 170/week @ 2024-09-02 257/week @ 2024-09-09 109/week @ 2024-09-16 125/week @ 2024-09-23 59/week @ 2024-09-30 46/week @ 2024-10-07 57/week @ 2024-10-14 25/week @ 2024-10-21 45/week @ 2024-10-28 56/week @ 2024-11-04

189 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

~54KB