pub trait IpcProducer: IpcTransport {
// Required methods
fn send(&self, msg: &[u8]) -> Result<(), IpcError>;
fn try_send(&self, msg: &[u8]) -> Result<(), IpcError>;
// Provided method
fn send_vectored(&self, bufs: &[&[u8]]) -> Result<(), IpcError> { ... }
}Expand description
Producer side : sends messages into the transport.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".