pub struct OtxPoolService { /* private fields */ }Implementations§
Source§impl OtxPoolService
impl OtxPoolService
pub fn new(network_config: NetworkConfig) -> Result<Self>
pub fn add_plugin(&mut self, plugin: Box<Arc<dyn Plugin + Send>>)
pub fn extended_rpc_with<T: Send + Sync>(&mut self, delegate: IoDelegate<T>)
pub fn load_third_party_plugins(&mut self) -> Result<()>
pub fn get_host_service_handler(&self) -> HostServiceHandler
pub fn get_plugin_configs(&self) -> &HashMap<String, (PluginMeta, PluginInfo)>
pub fn start(&mut self)
pub fn stop(self)
Auto Trait Implementations§
impl !Freeze for OtxPoolService
impl !RefUnwindSafe for OtxPoolService
impl Send for OtxPoolService
impl Sync for OtxPoolService
impl Unpin for OtxPoolService
impl !UnwindSafe for OtxPoolService
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