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§
fn send_stream( &self, fd: UnixStream, ) -> impl Future<Output = Result<(), Error>> + Send
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.