ReadIoBuffer

Trait ReadIoBuffer 

Source
pub trait ReadIoBuffer: Buf {
    // Required method
    fn capacity(&self) -> usize;
}
Expand description

An I/O buffer that can be read from.

Required Methods§

Source

fn capacity(&self) -> usize

Implementations on Foreign Types§

Source§

impl ReadIoBuffer for &[u8]

Source§

fn capacity(&self) -> usize

Source§

impl ReadIoBuffer for VecDeque<u8>

Source§

fn capacity(&self) -> usize

Source§

impl ReadIoBuffer for Bytes

Source§

fn capacity(&self) -> usize

Implementors§