Trait polling::AsSource

source ·
pub trait AsSource: AsFd {
    // Provided method
    fn source(&self) -> BorrowedFd<'_> { ... }
}
Expand description

A resource with a borrowed file descriptor.

Provided Methods§

source

fn source(&self) -> BorrowedFd<'_>

Returns the borrowed file descriptor.

Implementors§

source§

impl<T: AsFd> AsSource for T