From 90c68cce99d009a4ca2cc5455a5ef5eba91aeaf6 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 10 Sep 2020 17:19:25 +0200 Subject: [PATCH] Expose message field on message handler Signed-off-by: trivernis --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index 79315a9..fed37c5 100644 --- a/src/server.rs +++ b/src/server.rs @@ -12,7 +12,7 @@ const BUF_SIZE: usize = 512; #[derive(Clone, Debug)] pub struct MessageHandler { - message: Message, + pub message: Message, pub response: Option, pub wg: WaitGroup, }