Trait Buffer

Source
pub trait Buffer {
    type Output: ?Sized;

    // Required methods
    fn buffer(&mut self) -> (&Self::Output, &mut usize);
    fn exhausted(&self) -> bool;
}

Required Associated Types§

Required Methods§

Source

fn buffer(&mut self) -> (&Self::Output, &mut usize)

Source

fn exhausted(&self) -> bool

Implementors§

Source§

impl<T, S> Buffer for IterSource<T, S>

Source§

impl<T, S> Buffer for ReadSource<T, S>