From b75306e58fad9f4456e141436205ce0a4caa00e8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 16 Oct 2017 17:42:38 +0200 Subject: [PATCH] chore(lib): Derive Debug traits on Queue, Message --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 87ca9af78..75846a6de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,6 +26,7 @@ TODO: /// Wrapper type for queue names that performs basic validation of queue names before calling /// out to C code. +#[derive(Debug)] pub struct Name(CString); impl Name { @@ -65,6 +66,7 @@ pub struct Message { /// Represents an open queue descriptor to a POSIX message queue. This carries information /// about the queue's limitations (i.e. maximum message size and maximum message count). +#[derive(Debug)] pub struct Queue { name: Name,