Lines Matching refs:Result

32     pub fn read_bytes(&mut self, bytes_num: usize) -> Result<BytesMut, BytesReadError> {  in read_bytes()
41 pub fn advance_bytes(&mut self, bytes_num: usize) -> Result<BytesMut, BytesReadError> { in advance_bytes()
55 ) -> Result<Cursor<BytesMut>, BytesReadError> { in read_bytes_cursor()
64 ) -> Result<Cursor<BytesMut>, BytesReadError> { in advance_bytes_cursor()
70 pub fn read_u8(&mut self) -> Result<u8, BytesReadError> { in read_u8()
76 pub fn advance_u8(&mut self) -> Result<u8, BytesReadError> { in advance_u8()
81 pub fn read_u16<T: ByteOrder>(&mut self) -> Result<u16, BytesReadError> { in read_u16()
87 pub fn read_u24<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in read_u24()
93 pub fn advance_u24<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in advance_u24()
98 pub fn read_u32<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in read_u32()
105 pub fn read_u48<T: ByteOrder>(&mut self) -> Result<u64, BytesReadError> { in read_u48()
112 pub fn read_f64<T: ByteOrder>(&mut self) -> Result<f64, BytesReadError> { in read_f64()
119 pub fn read_u64<T: ByteOrder>(&mut self) -> Result<u64, BytesReadError> { in read_u64()
126 pub fn get(&self, index: usize) -> Result<u8, BytesReadError> { in get()
167 pub async fn read(&mut self) -> Result<(), BytesReadError> { in read() argument
173 async fn check(&mut self, bytes_num: usize) -> Result<(), BytesReadError> { in check() argument
181 pub async fn read_bytes(&mut self, bytes_num: usize) -> Result<BytesMut, BytesReadError> { in read_bytes()
186 pub async fn advance_bytes(&mut self, bytes_num: usize) -> Result<BytesMut, BytesReadError> { in advance_bytes()
194 ) -> Result<Cursor<BytesMut>, BytesReadError> { in read_bytes_cursor()
202 ) -> Result<Cursor<BytesMut>, BytesReadError> { in advance_bytes_cursor()
207 pub async fn read_u8(&mut self) -> Result<u8, BytesReadError> { in read_u8()
212 pub async fn advance_u8(&mut self) -> Result<u8, BytesReadError> { in advance_u8()
217 pub async fn read_u16<T: ByteOrder>(&mut self) -> Result<u16, BytesReadError> { in read_u16()
222 pub async fn read_u24<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in read_u24()
227 pub async fn advance_u24<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in advance_u24()
232 pub async fn read_u32<T: ByteOrder>(&mut self) -> Result<u32, BytesReadError> { in read_u32()
237 pub async fn read_f64<T: ByteOrder>(&mut self) -> Result<f64, BytesReadError> { in read_f64()