pub struct DeployedModule { /* private fields */ }Implementations§
Source§impl DeployedModule
impl DeployedModule
Sourcepub async fn start<W>(&self, input: W::InputArg) -> Result<WorkflowRef, String>where
W: WorkflowTypeAlias,
pub async fn start<W>(&self, input: W::InputArg) -> Result<WorkflowRef, String>where
W: WorkflowTypeAlias,
Sourcepub async fn start_by_name<T>(
&self,
name: &str,
input: T,
) -> Result<WorkflowRef, String>where
T: Serialize,
pub async fn start_by_name<T>(
&self,
name: &str,
input: T,
) -> Result<WorkflowRef, String>where
T: Serialize,
Start workflow by name.
Trait Implementations§
Source§impl Debug for DeployedModule
impl Debug for DeployedModule
Source§impl<'de> Deserialize<'de> for DeployedModule
impl<'de> Deserialize<'de> for DeployedModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeployedModule
impl RefUnwindSafe for DeployedModule
impl Send for DeployedModule
impl Sync for DeployedModule
impl Unpin for DeployedModule
impl UnwindSafe for DeployedModule
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