pub trait AsyncWriteMsg {
// Required method
fn write_msg<M: Message>(
&mut self,
msg: M,
) -> impl Future<Output = Result<()>> + Send + Sync;
}Available on crate feature
async only.Expand description
Write the given Protobuf message to the underlying I/O object (async).
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.