How to Implement AsyncRead and AsyncWrite for a Custom AsyncUtpStream in Rust?
I am trying to implement AsyncRead
and AsyncWrite
traits for a custom AsyncUtpStream
that wraps a UDP-based uTP-like protocol implemented using tokio::net::UdpSocket
. While my underlying UDP communication is working fine (e.g., sending and receiving packets as expected), I am facing issues in making my AsyncUtpStream
compatible with Rust’s async I/O traits.
How to Implement AsyncRead and AsyncWrite for a Custom AsyncUtpStream in Rust?
I am trying to implement AsyncRead
and AsyncWrite
traits for a custom AsyncUtpStream
that wraps a UDP-based uTP-like protocol implemented using tokio::net::UdpSocket
. While my underlying UDP communication is working fine (e.g., sending and receiving packets as expected), I am facing issues in making my AsyncUtpStream
compatible with Rust’s async I/O traits.
How to Implement AsyncRead and AsyncWrite for a Custom AsyncUtpStream in Rust?
I am trying to implement AsyncRead
and AsyncWrite
traits for a custom AsyncUtpStream
that wraps a UDP-based uTP-like protocol implemented using tokio::net::UdpSocket
. While my underlying UDP communication is working fine (e.g., sending and receiving packets as expected), I am facing issues in making my AsyncUtpStream
compatible with Rust’s async I/O traits.
How to Implement AsyncRead and AsyncWrite for a Custom AsyncUtpStream in Rust?
I am trying to implement AsyncRead
and AsyncWrite
traits for a custom AsyncUtpStream
that wraps a UDP-based uTP-like protocol implemented using tokio::net::UdpSocket
. While my underlying UDP communication is working fine (e.g., sending and receiving packets as expected), I am facing issues in making my AsyncUtpStream
compatible with Rust’s async I/O traits.