aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/basic/src
diff options
context:
space:
mode:
authorAnthony Grondin <[email protected]>2024-09-23 16:30:14 -0400
committerAnthony Grondin <[email protected]>2024-09-24 22:01:49 -0400
commitae5b78b27a9c644850c905c197e216a6cd2ab0b9 (patch)
treebcffa90d4041274e4288df28a45bb43b66cdebf7 /docs/examples/basic/src
parent0ede8479dc4c6a58cfab0a5d4df41c0592405971 (diff)
feat(embassy-net): Implement `wait_recv_ready()` + `wait_send_ready()` for UdpSocket
- Provides `pub async fn wait_recv_ready(&self) -> ()` and `pub fn poll_recv_ready(&self, cx: &mut Context<'_>) -> Poll<()>`. This allows polling / waiting on a socket until it can be read, without dequeuing any packets. - Provides `pub async fn wait_send_ready(&self) -> ()` and `pub fn poll_send_ready(&self, cx: &mut Context<'_> -> Poll<()>` This allows polling / waiting on a socket until it becomes writable.
Diffstat (limited to 'docs/examples/basic/src')
0 files changed, 0 insertions, 0 deletions