diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-10-16T15·42+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-10-16T15·42+0200 |
commit | b75306e58fad9f4456e141436205ce0a4caa00e8 (patch) | |
tree | d337bb8da6fb293b12000d3d538d8a4c993201d0 /src/lib.rs | |
parent | 1b795840880c9a2ae0afc320040e2e634b8e596b (diff) |
chore(lib): Derive Debug traits on Queue, Message
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
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, |