Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncRead & AsyncWrite support for TcpStream in Tcp.rs (Rust) #196

Open
Rwinwij opened this issue Oct 12, 2022 · 0 comments
Open

AsyncRead & AsyncWrite support for TcpStream in Tcp.rs (Rust) #196

Rwinwij opened this issue Oct 12, 2022 · 0 comments

Comments

@Rwinwij
Copy link

Rwinwij commented Oct 12, 2022

Hi Team,

Is it possible to have the TcpStream (in Tcp.rs) to have AsyncRead and AsyncWrite traits implemented ?

I am currently trying to use ZeroTier as a communication protocol for my blockchain projects but currently it is using a Stream as an input. To have a stream I need to have an AsyncReadBuffer thus AsyncRead implemented.

Any suggestions on how I can extend the AsyncRead trait on TcpStream ?

Many thanks before,

Erwin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant