21 Commits

Author SHA1 Message Date
Oliver Rockstedt
bbeba7f014 embassy-sync: Add clear function to all channels 2024-05-22 14:54:09 +02:00
Oliver Rockstedt
73e523ab14 embassy-sync: fixed some clippy warnings 2024-05-21 22:59:39 +02:00
Oliver Rockstedt
3d9b502c7a embassy-sync: Add capacity and free_capacity functions to Channel 2024-05-18 13:37:51 +02:00
nerwalt
30dcc88093 Adding ready_to_receive to Channel and Receiver
Adding ReceiveReadyFuture
2024-04-19 12:16:12 -06:00
Oliver Rockstedt
fa05256f05 embassy-sync: Add len, is_empty and is_full functions to Channel. 2024-04-08 00:40:42 +02:00
Ulf Lilleengen
c0d91600ea rustfmt 2024-03-12 15:37:53 +01:00
Ulf Lilleengen
8bb1fe1f65 Add conversion into dyn variants for channel futures 2024-03-12 15:27:52 +01:00
Peter Krull
69d37503c2 Add constructor for dynamic channel 2024-03-02 13:13:26 +01:00
Scott Mabin
454828accb revert module changes, reexport heapless relevant items 2023-11-20 11:28:31 +00:00
Scott Mabin
f482a105b8 more clean up, refactor channel into module to share code 2023-11-18 15:01:12 +00:00
Scott Mabin
7589b5e13e reduce duplication further by sharing Dynamic sender/receiver 2023-11-18 14:56:29 +00:00
Scott Mabin
270ec324b0 Reduce duplication, fix tests 2023-11-18 14:31:09 +00:00
Dániel Buga
0c66636d00 Use fmt::unwrap 2023-09-02 08:39:52 +02:00
Ruben De Smet
c39671266e
Deprecate *recv* in favor of *receive* 2023-08-22 16:58:31 +02:00
Ruben De Smet
b1ec460b9a
Implement Channel::poll_receive(..) -> Poll<T> 2023-08-11 13:22:56 +02:00
Ruben De Smet
f9d251cd5c
Channel poll methods return Poll instead of bool 2023-08-11 12:13:46 +02:00
Ruben De Smet
b658f10db9
Expose poll_ready_to_{send,receive} in Sender/Receiver 2023-08-11 12:13:42 +02:00
Sam Lakerveld
2ab9a07b64
embassy-sync: manual Copy impls for channel and pipe 2023-08-08 11:22:01 +02:00
xoviat
890d113b85 wpan: fully implement initial draft concept 2023-07-18 18:28:12 -05:00
Grant Miller
7be4337de9 Add #[must_use] to all futures 2023-02-24 13:01:41 -06:00
Dario Nieuwenhuis
5677b13a86 sync: flatten module structure. 2022-08-22 22:18:13 +02:00