pub trait RawCall<'a> {
// Required methods
fn block(self, id: BlockId) -> Self;
fn state(self, state: &'a State) -> Self;
// Provided method
fn map<F>(self, f: F) -> Map<Self, F> ⓘ
where Self: Sized { ... }
}
Expand description
Provides methods for overriding parameters to the eth_call
rpc method
Required Methods§
Sourcefn state(self, state: &'a State) -> Self
fn state(self, state: &'a State) -> Self
Sets the state override set. Note that not all client implementations will support this as a parameter.
Provided 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.