diff --git a/core/src/bbbuffer.rs b/core/src/bbbuffer.rs index 78610b5..8522fbb 100644 --- a/core/src/bbbuffer.rs +++ b/core/src/bbbuffer.rs @@ -309,6 +309,7 @@ impl BBBuffer { /// /// See [this github issue](https://github.com/jamesmunns/bbqueue/issues/38) for a /// discussion of grant methods that could be added in the future. +#[derive(Debug)] pub struct Producer<'a, const N: usize> { bbq: NonNull>, pd: PhantomData<&'a ()>, @@ -514,6 +515,7 @@ impl<'a, const N: usize> Producer<'a, N> { } /// `Consumer` is the primary interface for reading data from a `BBBuffer`. +#[derive(Debug)] pub struct Consumer<'a, const N: usize> { bbq: NonNull>, pd: PhantomData<&'a ()>,