Trait fifo::splice::SpliceWrite [] [src]

pub trait SpliceWrite {
    fn splice_to<T>(&mut self, w: &mut T, bytes: usize) -> Result<usize>
    where
        T: Write
; fn splice_all_to<T>(&mut self, w: &mut T) -> Result<()>
    where
        T: Write
, { ... } }

Copy some bytes directly into another Write object, without use any temporary buffers.

Required Methods

Copy at most bytes bytes into a Write w.

Provided Methods

Copy all bytes to a Write w.

Implementors