pub async fn receive_message<T: for<'de> Deserialize<'de>>(
stream: &mut Stream,
buffer_size: usize,
) -> Result<T, PluginError>Expand description
Receive and deserialize a message from an IPC stream
ยงArguments
stream- The IPC stream to read frombuffer_size- Size of the buffer to allocate for reading