Lines Matching defs:for
69 /// The resource pointed to by `fd` must remain open for the duration of
99 // no capabilities for multi-process execution. While F_DUPFD is also
117 impl AsRawFd for BorrowedFd<'_> {
125 impl AsRawFd for OwnedFd {
133 impl IntoRawFd for OwnedFd {
143 impl FromRawFd for OwnedFd {
148 /// The resource pointed to by `fd` must be open and suitable for assuming
162 impl Drop for OwnedFd {
167 // for this is that if an error occurs we don't actually know if
168 // the file descriptor was closed or not, and if we retried (for
177 impl fmt::Debug for BorrowedFd<'_> {
184 impl fmt::Debug for OwnedFd {
220 impl<T: AsFd> AsFd for &T {
228 impl<T: AsFd> AsFd for &mut T {
236 impl AsFd for BorrowedFd<'_> {
244 impl AsFd for OwnedFd {