Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ read_from
Method
read_from
src/backend/linux_raw/fs/dir.rs:72–74 ·
view source on GitHub ↗
(fd: Fd)
Source
from the content-addressed store, hash-verified
70
/// directory file descriptor.
71
#[inline]
72
pub fn read_from<Fd: AsFd>(fd: Fd) -> io::Result<Self> {
73
Self::_read_from(fd.as_fd())
74
}
75
76
#[inline]
77
fn _read_from(fd: BorrowedFd<'_>) -> io::Result<Self> {
Callers
nothing calls this directly
Calls
1
as_fd
Method · 0.45
Tested by
no test coverage detected