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.
FromRawFd
Stdio
1 parent 6b1bcb3 commit 908141cCopy full SHA for 908141c
src/stdio.rs
@@ -67,6 +67,8 @@ impl Stdio {
67
/// NOTE that the fd must be in blocking mode, otherwise
68
/// ssh might not flush all output since it considers
69
/// (`EAGAIN`/`EWOULDBLOCK`) as an error
70
+#[allow(useless_deprecated)]
71
+#[deprecated(since = "0.9.8", note = "Use Stdio::from_raw_fd_owned instead")]
72
impl FromRawFd for Stdio {
73
unsafe fn from_raw_fd(fd: RawFd) -> Self {
74
Self(StdioImpl::Fd(OwnedFd::from_raw_fd(fd), false))
0 commit comments