/// The length of the data in the buffer.
The length of the data in the buffer.
The length of the data in the buffer .
pub fn len(&self) -> usize {
        let head = self.head.load(Ordering::SeqCst);
        let tail = self.tail.load(Ordering::SeqCst);
        (tail + self.capacity() + 1 - head) % (self.capacity() + 1)
    }
pub fn len ( & self ) -> usize { let head = self . head . load ( Ordering :: SeqCst ) ; let tail = self . tail . load ( Ordering :: SeqCst ) ; ( tail + self . capacity ( ) + 1 - head ) % ( self . capacity ( ) + 1 ) }
The length of the data in the buffer.
The length of the data in the buffer .
&self