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