pub trait AsyncRecvSmolStream {
// Required method
fn recv_stream(
&self,
) -> impl Future<Output = Result<UnixStream, Error>> + Send;
}
Expand description
A trait to receive raw file descriptors
Required Methods§
fn recv_stream(&self) -> impl Future<Output = Result<UnixStream, 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.