You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So wrapping TcpStream with BufReader should work ?
Even if I wrap it to BufReader then it wants AsyncWrite too complicating setting stuff like async-native-tls up ?
I could implement my own type with those implemented but probably doc neeeds to be adjusted - it's not as straightforward now in combination with the types it's usually used as the doc points to direct use with TcpStream.
45 | let mut transport = SmtpTransport::new(client, reader).await?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `std::io::BufReader<TlsStream<async_std::net::TcpStream>>`
eed4f0b
So wrapping TcpStream with BufReader should work ?
Even if I wrap it to BufReader then it wants AsyncWrite too complicating setting stuff like async-native-tls up ?
I could implement my own type with those implemented but probably doc neeeds to be adjusted - it's not as straightforward now in combination with the types it's usually used as the doc points to direct use with TcpStream.
Repro: https://github.com/pinkforest/repro-async-std-async-smtp
For now I'm just using 0.8 as but got to refactor and port this stuff over off async-std probably
The text was updated successfully, but these errors were encountered: