pub trait UdsxUnixStream {
// Required methods
fn send_streams<B, const N: usize>(
&self,
id: B,
streams: [RawFd; N],
) -> Result<()>
where B: AsRef<[u8]>;
fn send_ioe<B>(&self, id: B) -> Result<()>
where B: AsRef<[u8]>;
unsafe fn recv_streams<B, T, const N: usize>(&self, id: B) -> Result<[T; N]>
where B: AsRef<[u8]>,
T: FromRawFd;
unsafe fn recv_ioe<B>(&self, id: B) -> Result<[Stdio; 3]>
where B: AsRef<[u8]>;
}Available on Unix only.
Expand description
Required Methods§
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.