about summary refs log tree commit diff
path: root/tests/ui/async-await/recursive-async-auto-trait-overflow.rs
diff options
context:
space:
mode:
authorAyush Singh <ayush@beagleboard.org>2025-07-20 22:35:43 +0530
committerAyush Singh <ayush@beagleboard.org>2025-08-04 20:02:01 +0530
commit6e75abd0aa4f22f6291f1a25ff81e0c6b959ad26 (patch)
tree444dd29c333fb65c42a7d3af3e4fe461fc74b6bb /tests/ui/async-await/recursive-async-auto-trait-overflow.rs
parente1b9081e699065badfc1a9419ec9566e5c8615c4 (diff)
downloadrust-6e75abd0aa4f22f6291f1a25ff81e0c6b959ad26.tar.gz
rust-6e75abd0aa4f22f6291f1a25ff81e0c6b959ad26.zip
std: sys: io: io_slice: Add UEFI types
UEFI networking APIs do support vectored read/write. While the types for
UDP4, UDP6, TCP4 and TCP6 are defined separately, they are essentially
the same C struct. So we can map IoSlice and IoSliceMut to have the same
binary representation.

Since all UEFI networking types for read/write are DSTs, `IoSlice` and
`IoSliceMut` will need to be copied to the end of the transmit/receive
structures. So having the same binary representation just allows us to
do a single memcpy instead of having to loop and set the DST.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Diffstat (limited to 'tests/ui/async-await/recursive-async-auto-trait-overflow.rs')
0 files changed, 0 insertions, 0 deletions