Trait revm::precompile::primitives::specification::Spec

source ·
pub trait Spec: Sized + 'static {
    const SPEC_ID: SpecId;

    // Provided method
    fn enabled(spec_id: SpecId) -> bool { ... }
}

Required Associated Constants§

source

const SPEC_ID: SpecId

The specification ID.

Provided Methods§

source

fn enabled(spec_id: SpecId) -> bool

Returns true if the given specification ID is enabled in this spec.

Object Safety§

This trait is not object safe.

Implementors§