@@ -258,6 +258,12 @@ pub struct ChildStdin {
258
258
inner : AnonPipe ,
259
259
}
260
260
261
+ // In addition to the `impl`s here, `ChildStdin` also has `impl`s for
262
+ // `AsFd`/`From<OwnedFd>`/`Into<OwnedFd>` and
263
+ // `AsRawFd`/`IntoRawFd`/`FromRawFd`, on Unix and WASI, and
264
+ // `AsHandle`/`From<OwnedHandle>`/`Into<OwnedHandle>` and
265
+ // `AsRawHandle`/`IntoRawHandle`/`FromRawHandle` on Windows.
266
+
261
267
#[ stable( feature = "process" , since = "1.0.0" ) ]
262
268
impl Write for ChildStdin {
263
269
fn write ( & mut self , buf : & [ u8 ] ) -> io:: Result < usize > {
@@ -335,6 +341,12 @@ pub struct ChildStdout {
335
341
inner : AnonPipe ,
336
342
}
337
343
344
+ // In addition to the `impl`s here, `ChildStdout` also has `impl`s for
345
+ // `AsFd`/`From<OwnedFd>`/`Into<OwnedFd>` and
346
+ // `AsRawFd`/`IntoRawFd`/`FromRawFd`, on Unix and WASI, and
347
+ // `AsHandle`/`From<OwnedHandle>`/`Into<OwnedHandle>` and
348
+ // `AsRawHandle`/`IntoRawHandle`/`FromRawHandle` on Windows.
349
+
338
350
#[ stable( feature = "process" , since = "1.0.0" ) ]
339
351
impl Read for ChildStdout {
340
352
fn read ( & mut self , buf : & mut [ u8 ] ) -> io:: Result < usize > {
@@ -396,6 +408,12 @@ pub struct ChildStderr {
396
408
inner : AnonPipe ,
397
409
}
398
410
411
+ // In addition to the `impl`s here, `ChildStderr` also has `impl`s for
412
+ // `AsFd`/`From<OwnedFd>`/`Into<OwnedFd>` and
413
+ // `AsRawFd`/`IntoRawFd`/`FromRawFd`, on Unix and WASI, and
414
+ // `AsHandle`/`From<OwnedHandle>`/`Into<OwnedHandle>` and
415
+ // `AsRawHandle`/`IntoRawHandle`/`FromRawHandle` on Windows.
416
+
399
417
#[ stable( feature = "process" , since = "1.0.0" ) ]
400
418
impl Read for ChildStderr {
401
419
fn read ( & mut self , buf : & mut [ u8 ] ) -> io:: Result < usize > {
0 commit comments