pub struct ConfigurationApiNamespace<S> { /* private fields */ }
Implementations§
source§impl<S> ConfigurationApiNamespace<S>
impl<S> ConfigurationApiNamespace<S>
pub fn new(node: Arc<RwLock<InMemoryNodeInner<S>>>) -> Self
Trait Implementations§
source§impl<S: Send + Sync + 'static> ConfigurationApiNamespaceT for ConfigurationApiNamespace<S>
impl<S: Send + Sync + 'static> ConfigurationApiNamespaceT for ConfigurationApiNamespace<S>
source§fn 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 Read more
source§fn config_get_current_timestamp(&self) -> Result<u64>
fn config_get_current_timestamp(&self) -> Result<u64>
Get the InMemoryNodeInner’s current_timestamp property Read more
source§fn 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 Read more
source§fn 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 Read more
source§fn 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 Read more
source§fn 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 Read more
source§fn 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 Read more
source§fn 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.Auto Trait Implementations§
impl<S> RefUnwindSafe for ConfigurationApiNamespace<S>
impl<S> Send for ConfigurationApiNamespace<S>where S: Send + Sync,
impl<S> Sync for ConfigurationApiNamespace<S>where S: Send + Sync,
impl<S> Unpin for ConfigurationApiNamespace<S>
impl<S> UnwindSafe for ConfigurationApiNamespace<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more