chore(lib): Derive Debug traits on Queue, Message

This commit is contained in:
Vincent Ambo 2017-10-16 17:42:38 +02:00
parent 1b79584088
commit b75306e58f

View file

@ -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,