Trait BlockEnvironment
pub trait BlockEnvironment:
Block
+ Clone
+ Debug
+ Send
+ Sync
+ 'static {
// Required method
fn inner_mut(&mut self) -> &mut BlockEnv;
}Expand description
Trait for types that can be used as a block environment.
Assumes that the type wraps an inner revm::context::BlockEnv.
Required Methods§
fn inner_mut(&mut self) -> &mut BlockEnv
fn inner_mut(&mut self) -> &mut BlockEnv
Returns a mutable reference to the inner revm::context::BlockEnv.
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.