fn dumpToStream(self: *Self, stream: anytype) !void
Dumps the contents of the queue to stream. Up to 4 elements from the head are dumped and the tail of the queue is dumped as well.
stream
self: *Self,
stream: anytype,