pub struct ServiceTaskActivity { /* private fields */ }Expand description
Service Task Activity
Implements Activity trait for ServiceTask elements.
Implementations§
Source§impl ServiceTaskActivity
impl ServiceTaskActivity
pub fn new(task: ServiceTask) -> Self
Trait Implementations§
Source§impl Activity for ServiceTaskActivity
impl Activity for ServiceTaskActivity
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 mut ExecutionContext,
) -> Pin<Box<dyn Future<Output = Result<ActivityResult, ActivityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 mut ExecutionContext,
) -> Pin<Box<dyn Future<Output = Result<ActivityResult, ActivityError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the activity Read more
Auto Trait Implementations§
impl Freeze for ServiceTaskActivity
impl RefUnwindSafe for ServiceTaskActivity
impl Send for ServiceTaskActivity
impl Sync for ServiceTaskActivity
impl Unpin for ServiceTaskActivity
impl UnsafeUnpin for ServiceTaskActivity
impl UnwindSafe for ServiceTaskActivity
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