Open joshbenz opened 2 years ago
I'm also running into this problem, unfortunately. This crate is quite old, I wonder if something has changed.
Currently facing this with async-std
and the first result is this issue (I am trying to use this crate too).
Hello all, this is a neat crate and LOVE the nom crate. I am considering using this crate in conjunction with https://crates.io/crates/async-ssh2-lite crate. I have an
AsyncStream<tokio::net::TcpStream>
and I get the following error.The code I am trying to work with is
Sometimes the code runs successfully, but mostly it fails with the above error. I am unsure of if this is due to using AsyncStream (which does implement futures::AsyncRead) or if this is an issue with this crate. It's not a big deal if what I am trying to do is not possible, i will just go a different direction with my code, but I thought I would bring it up anyways.
Thanks!