revm_interpreter::interpreter_types

Trait LegacyBytecode

Source
pub trait LegacyBytecode {
    // Required methods
    fn bytecode_len(&self) -> usize;
    fn bytecode_slice(&self) -> &[u8] ;
}

Required Methods§

Source

fn bytecode_len(&self) -> usize

Source

fn bytecode_slice(&self) -> &[u8]

Implementors§