mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-23 00:00:10 +02:00
* udp: add `into_parts` to `RecvDgram` If `RecvDgram` can not be driven to completion it may become necessary to get back the `UdpSocket` it contains which is currently not possible. This adds`into_parts` to get the socket as well as the buffer back. Both methods consume `RecvDgram`. Note that after the future has completed, `into_parts` must not be used, or else a panic will happen.
tokio-udp
UDP bindings for tokio.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.