pub trait CheatcodeBuilder {
const METHOD: &'static str;
// Required method
fn build(self) -> Value;
}Expand description
Trait implemented by typed cheatcode builders.
METHOD is the target Surfnet RPC method, and Self::build returns
the JSON-RPC parameter array for that method.
Required Associated Constants§
Required Methods§
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.