WithFdExt

Trait WithFdExt 

Source
pub trait WithFdExt: Sized {
    // Required method
    fn with_fd(self) -> WithFd<Self>;
}

Required Methods§

Source

fn with_fd(self) -> WithFd<Self>

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.

Implementations on Foreign Types§

Source§

impl WithFdExt for UnixStream

Source§

fn with_fd(self) -> WithFd<Self>

Source§

impl WithFdExt for Async<UnixStream>

Available on crate feature async-io only.
Source§

fn with_fd(self) -> WithFd<Self>

Source§

impl WithFdExt for UnixStream

Available on crate feature tokio only.
Source§

fn with_fd(self) -> WithFd<Self>

Implementors§