@@ -106,6 +106,10 @@ impl IntoRawHandle for process::ChildStderr {
106
106
}
107
107
}
108
108
109
+ /// Create a `ChildStdin` from the provided `OwnedHandle`.
110
+ ///
111
+ /// The provided handle must be asynchronous, as reading and
112
+ /// writing from and to it is implemented using asynchronous APIs.
109
113
#[ stable( feature = "io_safety" , since = "1.63.0" ) ]
110
114
impl From < OwnedHandle > for process:: ChildStdin {
111
115
fn from ( handle : OwnedHandle ) -> process:: ChildStdin {
@@ -115,6 +119,10 @@ impl From<OwnedHandle> for process::ChildStdin {
115
119
}
116
120
}
117
121
122
+ /// Create a `ChildStdout` from the provided `OwnedHandle`.
123
+ ///
124
+ /// The provided handle must be asynchronous, as reading and
125
+ /// writing from and to it is implemented using asynchronous APIs.
118
126
#[ stable( feature = "io_safety" , since = "1.63.0" ) ]
119
127
impl From < OwnedHandle > for process:: ChildStdout {
120
128
fn from ( handle : OwnedHandle ) -> process:: ChildStdout {
@@ -124,6 +132,10 @@ impl From<OwnedHandle> for process::ChildStdout {
124
132
}
125
133
}
126
134
135
+ /// Create a `ChildStderr` from the provided `OwnedHandle`.
136
+ ///
137
+ /// The provided handle must be asynchronous, as reading and
138
+ /// writing from and to it is implemented using asynchronous APIs.
127
139
#[ stable( feature = "io_safety" , since = "1.63.0" ) ]
128
140
impl From < OwnedHandle > for process:: ChildStderr {
129
141
fn from ( handle : OwnedHandle ) -> process:: ChildStderr {
0 commit comments