Lines Matching refs:ProtobufResult
20 use crate::ProtobufResult;
147 pub fn push_limit(&mut self, limit: u64) -> ProtobufResult<u64> { in push_limit()
201 pub fn eof(&mut self) -> ProtobufResult<bool> { in eof()
210 pub fn read_byte(&mut self) -> ProtobufResult<u8> { in read_byte()
230 fn read_to_vec(&mut self, vec: &mut Vec<u8>, max: usize) -> ProtobufResult<usize> { in read_to_vec()
245 pub fn read_exact_to_vec(&mut self, count: usize, target: &mut Vec<u8>) -> ProtobufResult<()> { in read_exact_to_vec() argument
287 pub fn read_exact_bytes(&mut self, len: usize) -> ProtobufResult<Bytes> { in read_exact_bytes()
327 pub fn read(&mut self, buf: &mut [u8]) -> ProtobufResult<usize> { in read()
338 pub fn read_exact(&mut self, buf: &mut [u8]) -> ProtobufResult<()> { in read_exact() argument
377 fn do_fill_buf(&mut self) -> ProtobufResult<()> { in do_fill_buf() argument
412 pub fn fill_buf(&mut self) -> ProtobufResult<&[u8]> { in fill_buf()