| 83 | } |
| 84 | |
| 85 | pub(crate) trait FdStringExt { |
| 86 | fn fd_string(&self) -> String; |
| 87 | unsafe fn from_fd_string(fd_str: &str) -> io::Result<Self> |
| 88 | where |
| 89 | Self: Sized; |
| 90 | } |
| 91 | |
| 92 | impl<T: AsRawFd + FromRawFd> FdStringExt for T { |
| 93 | unsafe fn from_fd_string(fd_str: &str) -> io::Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected