From b0c37dfc878d6b1dbc3c361b1bbb327c6f59704f Mon Sep 17 00:00:00 2001 From: Harry Stern Date: Thu, 2 May 2019 01:31:04 -0400 Subject: [PATCH] Derive debug for Server and ServerCommand --- actix-server/src/server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-server/src/server.rs b/actix-server/src/server.rs index 4bc59992..f1d862c9 100644 --- a/actix-server/src/server.rs +++ b/actix-server/src/server.rs @@ -5,6 +5,7 @@ use futures::Future; use crate::builder::ServerBuilder; use crate::signals::Signal; +#[derive(Debug)] pub(crate) enum ServerCommand { WorkerDied(usize), Pause(oneshot::Sender<()>), @@ -17,7 +18,7 @@ pub(crate) enum ServerCommand { }, } -#[derive(Clone)] +#[derive(Debug, Clone)] pub struct Server(UnboundedSender); impl Server {