pub trait ConfigurationApiNamespaceT: Sized + Send + Sync + 'static {
// Required methods
fn config_get_show_calls(&self) -> Result<String>;
fn config_get_current_timestamp(&self) -> Result<u64>;
fn config_set_show_calls(&self, value: String) -> Result<String>;
fn config_set_show_storage_logs(&self, value: String) -> Result<String>;
fn config_set_show_vm_details(&self, value: String) -> Result<String>;
fn config_set_show_gas_details(&self, value: String) -> Result<String>;
fn config_set_resolve_hashes(&self, value: bool) -> Result<bool>;
// Provided method
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Required Methods§
sourcefn config_get_show_calls(&self) -> Result<String>
fn config_get_show_calls(&self) -> Result<String>
Get the InMemoryNodeInner’s show_calls property as a string
Returns
The current show_calls
value for the InMemoryNodeInner.
sourcefn config_get_current_timestamp(&self) -> Result<u64>
fn config_get_current_timestamp(&self) -> Result<u64>
Get the InMemoryNodeInner’s current_timestamp property
Returns
The current current_timestamp
value for the InMemoryNodeInner.
sourcefn config_set_show_calls(&self, value: String) -> Result<String>
fn config_set_show_calls(&self, value: String) -> Result<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.
sourcefn config_set_show_storage_logs(&self, value: String) -> Result<String>
fn config_set_show_storage_logs(&self, value: String) -> Result<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.
sourcefn config_set_show_vm_details(&self, value: String) -> Result<String>
fn config_set_show_vm_details(&self, value: String) -> Result<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.
sourcefn config_set_show_gas_details(&self, value: String) -> Result<String>
fn config_set_show_gas_details(&self, value: String) -> Result<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.
sourcefn config_set_resolve_hashes(&self, value: bool) -> Result<bool>
fn config_set_resolve_hashes(&self, value: bool) -> Result<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.
Provided Methods§
sourcefn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
Create an IoDelegate
, wiring rpc calls to the trait methods.