Skip to main content

ForkBlockEnv

Trait ForkBlockEnv 

pub trait ForkBlockEnv:
    SerializeBlockEnv
    + DeserializeBlockEnv
    + Clone
    + PartialEq
    + Send
    + Sync
    + 'static { }
Expand description

Marker trait for block environment types that can be used with the forking backend.

Automatically implemented for any B: SerializeBlockEnv + DeserializeBlockEnv + Clone + PartialEq + Send + Sync + 'static.

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§

§

impl<B> ForkBlockEnv for B
where B: SerializeBlockEnv + DeserializeBlockEnv + Clone + PartialEq + Send + Sync + 'static,