pub fn write_rpc_proto<W>( buf: &mut [u8], write: W, msg: RpcP, ) -> Result<(), EspError>where W: FnMut(&[u8]) -> Result<(), EspError>,
Write an automatically-decoded protobuf message directly.