Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
the8472
5mo ago
0 comments
Share
From/Into conversion via OwnedFd is the safe API, RawFd is the older and lower-level one.
0 comments
default
newest
oldest
erk__
5mo ago
Ahh I guess that means that its possible in safe rust to cast a file descriptor to a different type. I was just looking at how socket2 did it and forgot to have a proper look.
j
/
k
navigate · click thread line to collapse