Trait CheatcodeDef
pub trait CheatcodeDef:
Debug
+ Clone
+ SolCall {
const CHEATCODE: &'static Cheatcode<'static>;
}
Expand description
Cheatcode definition trait. Implemented by all Vm
functions.
Required Associated Constants§
const CHEATCODE: &'static Cheatcode<'static>
const CHEATCODE: &'static Cheatcode<'static>
The static cheatcode definition.
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.