Trait polling::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§