Trait async_send_fd::AsyncRecvTokioStream

source ·
pub trait AsyncRecvTokioStream {
    // Required method
    fn recv_stream(
        &self
    ) -> impl Future<Output = Result<UnixStream, Error>> + Send;
}
Expand description

A trait to receive raw file descriptors

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AsyncRecvTokioStream for ReadHalf<'_>

source§

impl AsyncRecvTokioStream for OwnedReadHalf

source§

impl AsyncRecvTokioStream for UnixStream

Implementors§