Expand description
Creates a new Queue with the given Capacity.
Unlike the other Queues in this crate, this Queue combines the Producer and Consumer in a single Struct, as they dont have any restrictions that would limit the other half in some way and need to share certain state anyway.