pub trait BoundedBuffer {
    fn remaining_capacity(&self) -> usize;
}

Required Methods§

Indicates how many bytes can still be written to the buffer before it may reject further writes.

Implementors§