Searched refs:BufReadIter (Results 1 – 2 of 2) sorted by relevance
53 pub struct BufReadIter<'a> { struct62 impl<'a> Drop for BufReadIter<'a> { argument74 impl<'ignore> BufReadIter<'ignore> { implementation75 pub fn from_read<'a>(read: &'a mut dyn Read) -> BufReadIter<'a> { in from_read()76 BufReadIter { in from_read()89 pub fn from_buf_read<'a>(buf_read: &'a mut dyn BufRead) -> BufReadIter<'a> { in from_buf_read()90 BufReadIter { in from_buf_read()100 pub fn from_byte_slice<'a>(bytes: &'a [u8]) -> BufReadIter<'a> { in from_byte_slice()101 BufReadIter { in from_byte_slice()112 pub fn from_bytes<'a>(bytes: &'a Bytes) -> BufReadIter<'a> { in from_bytes()[all …]
16 use crate::buf_read_iter::BufReadIter;35 source: BufReadIter<'a>,45 CodedInputStream::from_buf_read_iter(BufReadIter::from_read(read)) in new()52 CodedInputStream::from_buf_read_iter(BufReadIter::from_buf_read(buf_read)) in from_buffered_reader()57 CodedInputStream::from_buf_read_iter(BufReadIter::from_byte_slice(bytes)) in from_bytes()67 CodedInputStream::from_buf_read_iter(BufReadIter::from_bytes(bytes)) in from_carllerche_bytes()70 fn from_buf_read_iter(source: BufReadIter<'a>) -> CodedInputStream<'a> { in from_buf_read_iter()