pub struct ConfiguredStrategyEntry { /* private fields */ }Expand description
Strategy entry copied from a loaded manifest.
Implementations§
Source§impl ConfiguredStrategyEntry
impl ConfiguredStrategyEntry
Sourcepub fn create_adapter(
&self,
strategy_config: StrategyConfig,
config_json: &str,
) -> Result<PluginStrategyAdapter>
pub fn create_adapter( &self, strategy_config: StrategyConfig, config_json: &str, ) -> Result<PluginStrategyAdapter>
Creates a host-side adapter for this configured strategy entry.
§Errors
Returns an error if the plug-in vtable rejects construction.
Auto Trait Implementations§
impl Freeze for ConfiguredStrategyEntry
impl RefUnwindSafe for ConfiguredStrategyEntry
impl Send for ConfiguredStrategyEntry
impl Sync for ConfiguredStrategyEntry
impl Unpin for ConfiguredStrategyEntry
impl UnsafeUnpin for ConfiguredStrategyEntry
impl UnwindSafe for ConfiguredStrategyEntry
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