Trait fifo::splice::SpliceRead [] [src]

pub trait SpliceRead {
    fn splice_from<T>(&mut self, r: &mut T, bytes: usize) -> Result<usize>
    where
        T: Read
; fn splice_all_from<T>(&mut self, r: &mut T) -> Result<()>
    where
        T: Read
, { ... } }

Copy some bytes directly from another Read object, without use any temporary buffers.

Required Methods

Copy at most bytes bytes from a Read r.

Provided Methods

Copy all bytes from a Read r.

Implementors