pub fn available(&self) -> usize {
        if self.is_full() {
            0
        } else {
            self.capacity - self.used
        }
    }
/// Get number of bytes available until the soft limit is reached.
Get number of bytes available until the soft limit is reached.
Get number of bytes available until the soft limit is reached .
pub fn available(&self) -> usize {
        if self.is_full() {
            0
        } else {
            self.capacity - self.used
        }
    }
pub fn available ( & self ) -> usize { if self . is_full ( ) { 0 } else { self . capacity - self . used } }
Get number of bytes available until the soft limit is reached.
Get number of bytes available until the soft limit is reached .
&self
&self