pub struct HttpPackage;Trait Implementations§
Source§impl ActPackage for HttpPackage
impl ActPackage for HttpPackage
Source§fn definition() -> ActPackageDefinition
fn definition() -> ActPackageDefinition
get package meta definition
Source§fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
params: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vars>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_ctx: &'life1 Context,
params: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vars>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
executing with task context
Source§fn start<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_rt: &'life1 Arc<Runtime>,
_params: &'life2 Value,
_options: &'life3 Vars,
) -> Pin<Box<dyn Future<Output = Result<Option<Vars>, ActError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn start<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_rt: &'life1 Arc<Runtime>,
_params: &'life2 Value,
_options: &'life3 Vars,
) -> Pin<Box<dyn Future<Output = Result<Option<Vars>, ActError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
start with non-context, such as workflow event
Source§impl Clone for HttpPackage
impl Clone for HttpPackage
Source§fn clone(&self) -> HttpPackage
fn clone(&self) -> HttpPackage
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 Freeze for HttpPackage
impl RefUnwindSafe for HttpPackage
impl Send for HttpPackage
impl Sync for HttpPackage
impl Unpin for HttpPackage
impl UnsafeUnpin for HttpPackage
impl UnwindSafe for HttpPackage
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