pub struct PythonPlugin;Expand description
Python language plugin
Trait Implementations§
Source§impl Plugin for PythonPlugin
impl Plugin for PythonPlugin
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Description of what this plugin provides
Source§fn build(&self, _ctx: &mut PluginContext)
fn build(&self, _ctx: &mut PluginContext)
Build phase: Register components with the plugin context Read more
Source§fn subscribe(&self, bus: &EventBus, _state: Arc<PluginStateRegistry>)
fn subscribe(&self, bus: &EventBus, _state: Arc<PluginStateRegistry>)
Subscribe to events via the event bus Read more
Source§fn finish(&self, _ctx: &mut PluginContext)
fn finish(&self, _ctx: &mut PluginContext)
Finalize phase after all plugins are built Read more
Source§fn optional_dependencies(&self) -> Vec<TypeId>
fn optional_dependencies(&self) -> Vec<TypeId>
Optional plugins that should be loaded before this one if present Read more
Source§fn init_state(&self, _registry: &PluginStateRegistry)
fn init_state(&self, _registry: &PluginStateRegistry)
Initialize plugin state Read more
Source§fn boot(
&self,
_bus: &EventBus,
_state: Arc<PluginStateRegistry>,
_event_tx: Option<Sender<InnerEvent>>,
)
fn boot( &self, _bus: &EventBus, _state: Arc<PluginStateRegistry>, _event_tx: Option<Sender<InnerEvent>>, )
Boot phase: Called after
EventBus is active and initial events processed Read moreAuto Trait Implementations§
impl Freeze for PythonPlugin
impl RefUnwindSafe for PythonPlugin
impl Send for PythonPlugin
impl Sync for PythonPlugin
impl Unpin for PythonPlugin
impl UnwindSafe for PythonPlugin
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<P> PluginTuple for Pwhere
P: Plugin,
impl<P> PluginTuple for Pwhere
P: Plugin,
Source§fn add_to(self, loader: &mut PluginLoader)
fn add_to(self, loader: &mut PluginLoader)
Add all plugins in this tuple to the loader