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
fn splice_to<T>(&mut self, w: &mut T, bytes: usize) -> Result<usize> where
T: Write,
T: Write,
Copy at most bytes bytes into a Write
w.
Provided Methods
fn splice_all_to<T>(&mut self, w: &mut T) -> Result<()> where
T: Write,
T: Write,
Copy all bytes to a Write
w.
Implementors
impl SpliceWrite for Receiver