OpFullNodeTypes

Trait OpFullNodeTypes 

Source
pub trait OpFullNodeTypes: NodeTypes<Storage = OpStorage>
where Self::ChainSpec: OpHardforks, Self::Primitives: OpPayloadPrimitives, Self::Payload: EngineTypes<ExecutionData = OpExecutionData>,
{ }
Available on crate features node-api and node only.
Expand description

Helper trait for Optimism node types with full configuration including storage and execution data.

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§

Source§

impl<N> OpFullNodeTypes for N
where <N as NodeTypes>::ChainSpec: OpHardforks, <N as NodeTypes>::Primitives: OpPayloadPrimitives, <N as NodeTypes>::Payload: EngineTypes<ExecutionData = OpExecutionData>, N: NodeTypes<Storage = OpStorage>,