Lines Matching refs:Error
84 impl std::error::Error for DecodingError {}
100 type Error; typedef
103 fn unexpected_eof(&self) -> Self::Error; in unexpected_eof() argument
106 fn invalid_opcode(&self, code: u8) -> Self::Error; in invalid_opcode() argument
109 fn invalid_extended_opcode(&self, code: u16) -> Self::Error; in invalid_extended_opcode() argument
112 fn invalid_reg(&self, reg: u8) -> Self::Error; in invalid_reg() argument
116 fn read<const N: usize>(&mut self) -> Result<[u8; N], Self::Error>; in read() argument
150 fn read<const N: usize>(&mut self) -> Result<[u8; N], Self::Error> { in read() argument
160 type Error = DecodingError; typedef
162 fn unexpected_eof(&self) -> Self::Error { in unexpected_eof() argument
168 fn invalid_opcode(&self, code: u8) -> Self::Error { in invalid_opcode() argument
175 fn invalid_extended_opcode(&self, code: u16) -> Self::Error { in invalid_extended_opcode() argument
182 fn invalid_reg(&self, reg: u8) -> Self::Error { in invalid_reg() argument
231 fn read<const N: usize>(&mut self) -> Result<[u8; N], Self::Error> { in read() argument
237 type Error = Infallible; typedef
239 fn unexpected_eof(&self) -> Self::Error { in unexpected_eof() argument
243 fn invalid_opcode(&self, _code: u8) -> Self::Error { in invalid_opcode() argument
247 fn invalid_extended_opcode(&self, _code: u16) -> Self::Error { in invalid_extended_opcode() argument
251 fn invalid_reg(&self, _reg: u8) -> Self::Error { in invalid_reg() argument
260 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
266 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
275 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
284 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
293 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
302 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
311 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
320 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
329 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
338 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
347 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
356 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
366 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
376 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
386 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
395 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
408 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
421 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
430 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
439 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
448 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
457 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
469 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
481 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
490 fn decode<T>(bytecode: &mut T) -> Result<Self, T::Error> in decode()
573 ) -> Result<V::Return, <V::BytecodeStream as BytecodeStream>::Error>
702 ) -> Result<V::Return, <V::BytecodeStream as BytecodeStream>::Error>
770 … pub fn $snake_name<T: BytecodeStream>(pc: &mut T) -> Result<($($($field_ty,)*)?), T::Error> {
781 pub fn extended<T: BytecodeStream>(pc: &mut T) -> Result<(ExtendedOpcode,), T::Error> { in extended() argument