pub struct TriggerActivationService<'a> { /* private fields */ }Implementations§
Source§impl<'a> TriggerActivationService<'a>
impl<'a> TriggerActivationService<'a>
pub async fn activate( &self, handle: impl AsRef<str>, event_payload: Value, parent_invocation: Option<RuntimeInvocation>, ) -> Result<Option<String>, PluginError>
pub async fn activate_source_type( &self, source_type: impl AsRef<str>, event_payload: Value, parent_invocation: Option<RuntimeInvocation>, ) -> Result<Vec<String>, PluginError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TriggerActivationService<'a>
impl<'a> !UnwindSafe for TriggerActivationService<'a>
impl<'a> Freeze for TriggerActivationService<'a>
impl<'a> Send for TriggerActivationService<'a>
impl<'a> Sync for TriggerActivationService<'a>
impl<'a> Unpin for TriggerActivationService<'a>
impl<'a> UnsafeUnpin for TriggerActivationService<'a>
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