Skip to main content

CpuOp

Trait CpuOp 

Source
pub trait CpuOp {
    // Required method
    fn cpu(input: &[u8], output: &mut Vec<u8>);
}
Expand description

CPU reference implementation for an operation.

Required Methods§

Source

fn cpu(input: &[u8], output: &mut Vec<u8>)

Execute one flat byte payload and append the byte output to output.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§