Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ from
Method
from
crates/stdlib/src/posixsubprocess.rs:173–175 ·
view source on GitHub ↗
(fd: OwnedFd)
Source
from the content-addressed store, hash-verified
171
172
impl From<OwnedFd> for Fd {
173
fn from(fd: OwnedFd) -> Self {
174
Self(unsafe { BorrowedFd::borrow_raw(fd.into_raw_fd()) })
175
}
176
}
177
178
#[derive(Copy, Clone)]
Callers
nothing calls this directly
Calls
2
Self
Function · 0.85
into_raw_fd
Method · 0.45
Tested by
no test coverage detected