diff options
Diffstat (limited to 'cli/ops/io.rs')
-rw-r--r-- | cli/ops/io.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/ops/io.rs b/cli/ops/io.rs index 7969184ef..0c9a83883 100644 --- a/cli/ops/io.rs +++ b/cli/ops/io.rs @@ -148,6 +148,8 @@ pub enum StreamResource { Stderr(tokio::io::Stderr), FsFile(tokio::fs::File, FileMetadata), TcpStream(tokio::net::TcpStream), + #[cfg(not(windows))] + UnixStream(tokio::net::UnixStream), ServerTlsStream(Box<ServerTlsStream<TcpStream>>), ClientTlsStream(Box<ClientTlsStream<TcpStream>>), HttpBody(Box<HttpBody>), @@ -183,6 +185,8 @@ impl DenoAsyncRead for StreamResource { FsFile(f, _) => f, Stdin(f, _) => f, TcpStream(f) => f, + #[cfg(not(windows))] + UnixStream(f) => f, ClientTlsStream(f) => f, ServerTlsStream(f) => f, ChildStdout(f) => f, @@ -262,6 +266,8 @@ impl DenoAsyncWrite for StreamResource { Stdout(f) => f, Stderr(f) => f, TcpStream(f) => f, + #[cfg(not(windows))] + UnixStream(f) => f, ClientTlsStream(f) => f, ServerTlsStream(f) => f, ChildStdin(f) => f, @@ -279,6 +285,8 @@ impl DenoAsyncWrite for StreamResource { Stdout(f) => f, Stderr(f) => f, TcpStream(f) => f, + #[cfg(not(windows))] + UnixStream(f) => f, ClientTlsStream(f) => f, ServerTlsStream(f) => f, ChildStdin(f) => f, |