polling

Trait AsRawSource

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

A resource with a raw file descriptor.

Required Methods§

Source

fn raw(&self) -> RawFd

Returns the raw file descriptor.

Implementations on Foreign Types§

Source§

impl AsRawSource for RawFd

Source§

fn raw(&self) -> RawFd

Source§

impl<T: AsRawFd> AsRawSource for &T

Source§

fn raw(&self) -> RawFd

Implementors§