We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94afd50 commit dc03ad4Copy full SHA for dc03ad4
src/client/legacy/connect/http.rs
@@ -522,6 +522,20 @@ impl Connection for TcpStream {
522
}
523
524
525
+#[cfg(unix)]
526
+impl Connection for tokio::net::UnixStream {
527
+ fn connected(&self) -> Connected {
528
+ Connected::new()
529
+ }
530
+}
531
+
532
+#[cfg(windows)]
533
+impl Connection for tokio::net::windows::named_pipe::NamedPipeClient {
534
535
536
537
538
539
// Implement `Connection` for generic `TokioIo<T>` so that external crates can
540
// implement their own `HttpConnector` with `TokioIo<CustomTcpStream>`.
541
impl<T> Connection for TokioIo<T>
0 commit comments