pub struct HostEventRouter { /* private fields */ }Implementations§
Source§impl HostEventRouter
impl HostEventRouter
pub fn new( store: Arc<dyn HostEventStore>, process_registry: Option<Arc<dyn ProcessRegistry>>, process_work_poke: Option<ProcessWorkPoke>, host_profile_id: impl Into<String>, ) -> Self
pub fn store(&self) -> Arc<dyn HostEventStore> ⓘ
pub async fn emit( &self, request: HostEventOccurrenceRequest, effect_controller: &dyn RuntimeEffectController, ) -> Result<HostEventEmitReport, PluginError>
Trait Implementations§
Source§impl Clone for HostEventRouter
impl Clone for HostEventRouter
Source§fn clone(&self) -> HostEventRouter
fn clone(&self) -> HostEventRouter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HostEventRouter
impl !UnwindSafe for HostEventRouter
impl Freeze for HostEventRouter
impl Send for HostEventRouter
impl Sync for HostEventRouter
impl Unpin for HostEventRouter
impl UnsafeUnpin for HostEventRouter
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