The Rust library [wezterm](https://github.com/wez/wezterm/) has various types which could implement `AsFd`, `From<OwnedFd>`, and `Into<OwnedFd>`.