Trait async_send_fd::AsyncSendSmolStream

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

A trait to send raw file descriptors

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AsyncSendSmolStream for UnixStream

source§

async fn send_stream(&self, stream: UnixStream) -> Result<(), Error>

Implementors§