FileDescriptorBasedExtManual

Trait FileDescriptorBasedExtManual 

Source
pub trait FileDescriptorBasedExtManual: IsA<FileDescriptorBased> + 'static {
    // Provided method
    fn fd<T: FromRawFd>(&self) -> T { ... }
}

Provided Methods§

Source

fn fd<T: FromRawFd>(&self) -> T

Gets the underlying file descriptor.

§Returns

The file descriptor

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§