I noticed the types in this crate are missing a Debug implementation, but I need them to have one in order to use them in a struct that derives Debug. So I went ahead and added a basic implementation for the Sender and Receiver structs of each channel type.
I've opted for displaying them as empty structs since the internals of these channels also don't implement Debug (so a simple derive wasn't possible) and I think the internal implementation doesn't need to be exposed regardless.
I noticed the types in this crate are missing a
Debug
implementation, but I need them to have one in order to use them in a struct that derivesDebug
. So I went ahead and added a basic implementation for theSender
andReceiver
structs of each channel type.I've opted for displaying them as empty structs since the internals of these channels also don't implement
Debug
(so a simple derive wasn't possible) and I think the internal implementation doesn't need to be exposed regardless.