tinymist_std/concepts/
read.rs

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