pub trait ReadAllOnce { // Required method fn read_all(self, buf: &mut Vec<u8>) -> Result<usize>; }
A trait for reading all data from a source into a buffer.
Reads all data from the source into the buffer.