Skip to main content

FromBytesWithOpcode

Trait FromBytesWithOpcode 

pub trait FromBytesWithOpcode: Sized {
    // Required method
    fn from_bytes_with_opcode<R>(
        bytes: &mut R,
        opcode: u8,
    ) -> Result<Self, Report>
       where R: Read;
}

Required Methods§

fn from_bytes_with_opcode<R>(bytes: &mut R, opcode: u8) -> Result<Self, Report>
where R: Read,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§