pub trait AsSource: AsFd {
// Provided method
fn source(&self) -> BorrowedFd<'_> { ... }
}
Expand description
A resource with a borrowed file descriptor.
Provided Methods§
sourcefn source(&self) -> BorrowedFd<'_>
fn source(&self) -> BorrowedFd<'_>
Returns the borrowed file descriptor.