ringbuf: add a docstring
ringbuf: implement the Deque trait