Trait polling::Source

source ·
pub trait Source {
    // Required method
    fn raw(&self) -> RawFd;
}
Expand description

A RawFd or a reference to a type implementing AsRawFd.

Required Methods§

source

fn raw(&self) -> RawFd

Returns the RawFd for this I/O object.

Implementations on Foreign Types§

source§

impl Source for RawFd

source§

fn raw(&self) -> RawFd

source§

impl<T: AsRawFd> Source for &T

source§

fn raw(&self) -> RawFd

Implementors§