pub trait AsyncRecvFd {
    // Required method
    fn recv_fd(&self) -> impl Future<Output = Result<RawFd, Error>> + Send;
}
Expand description

A trait to receive raw file descriptors

Required Methods§

source

fn recv_fd(&self) -> impl Future<Output = Result<RawFd, Error>> + Send

Receive RawFd

Object Safety§

This trait is not object safe.

Implementors§