Struct era_test_node::configuration_api::gen_client::Client
source · pub struct Client { /* private fields */ }
Expand description
The Client.
Implementations§
source§impl Client
impl Client
sourcepub fn config_get_show_calls(&self) -> impl Future<Output = RpcResult<String>>
pub fn config_get_show_calls(&self) -> impl Future<Output = RpcResult<String>>
Get the InMemoryNodeInner’s show_calls property as a string
Returns
The current show_calls
value for the InMemoryNodeInner.
sourcepub fn config_get_current_timestamp(
&self
) -> impl Future<Output = RpcResult<u64>>
pub fn config_get_current_timestamp( &self ) -> impl Future<Output = RpcResult<u64>>
Get the InMemoryNodeInner’s current_timestamp property
Returns
The current current_timestamp
value for the InMemoryNodeInner.
sourcepub fn config_set_show_calls(
&self,
value: String
) -> impl Future<Output = RpcResult<String>>
pub fn config_set_show_calls( &self, value: String ) -> impl Future<Output = RpcResult<String>>
Set show_calls for the InMemoryNodeInner
Parameters
value
: A ShowCalls enum to update show_calls to
Returns
The updated/current show_calls
value for the InMemoryNodeInner.
sourcepub fn config_set_show_storage_logs(
&self,
value: String
) -> impl Future<Output = RpcResult<String>>
pub fn config_set_show_storage_logs( &self, value: String ) -> impl Future<Output = RpcResult<String>>
Set show_storage_logs for the InMemoryNodeInner
Parameters
value
: A ShowStorageLogs enum to update show_storage_logs to
Returns
The updated/current show_storage_logs
value for the InMemoryNodeInner.
sourcepub fn config_set_show_vm_details(
&self,
value: String
) -> impl Future<Output = RpcResult<String>>
pub fn config_set_show_vm_details( &self, value: String ) -> impl Future<Output = RpcResult<String>>
Set show_vm_details for the InMemoryNodeInner
Parameters
value
: A ShowVMDetails enum to update show_vm_details to
Returns
The updated/current show_vm_details
value for the InMemoryNodeInner.
sourcepub fn config_set_show_gas_details(
&self,
value: String
) -> impl Future<Output = RpcResult<String>>
pub fn config_set_show_gas_details( &self, value: String ) -> impl Future<Output = RpcResult<String>>
Set show_gas_details for the InMemoryNodeInner
Parameters
value
: A ShowGasDetails enum to update show_gas_details to
Returns
The updated/current show_gas_details
value for the InMemoryNodeInner.
sourcepub fn config_set_resolve_hashes(
&self,
value: bool
) -> impl Future<Output = RpcResult<bool>>
pub fn config_set_resolve_hashes( &self, value: bool ) -> impl Future<Output = RpcResult<bool>>
Set resolve_hashes for the InMemoryNodeInner
Parameters
value
: A bool to update resolve_hashes to
Returns
The updated resolve_hashes
value for the InMemoryNodeInner.