pub trait IntoRawFd {
    // Required method
    fn into_raw_fd(self) -> RawFd;
}
Expand description

Consumes an object and acquire ownership of its raw fd.

Required Methods§

source

fn into_raw_fd(self) -> RawFd

Consumes this object, returning the raw underlying fd.

Implementations on Foreign Types§

source§

impl IntoRawFd for File

source§

impl IntoRawFd for Socket

Implementors§