Trait yaxpeax_arch::Decoder [−][src]
pub trait Decoder<Inst> where
Inst: Sized + Default, { type Error: DecodeError + Debug + Display; fn decode_into<T: IntoIterator<Item = u8>>(
&self,
inst: &mut Inst,
bytes: T
) -> Result<(), Self::Error>; fn decode<T: IntoIterator<Item = u8>>(
&self,
bytes: T
) -> Result<Inst, Self::Error> { ... } }
Associated Types
type Error: DecodeError + Debug + Display
[src]
Required methods
fn decode_into<T: IntoIterator<Item = u8>>(
&self,
inst: &mut Inst,
bytes: T
) -> Result<(), Self::Error>
[src]
&self,
inst: &mut Inst,
bytes: T
) -> Result<(), Self::Error>