about summary refs log tree commit diff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 87ca9af78553..75846a6dee91 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,