pub struct LoadedWorkflow { /* private fields */ }Expand description
Workflow package entrypoint registered in the embedded runtime.
Implementations§
Source§impl LoadedWorkflow
impl LoadedWorkflow
Sourcepub fn workflow_type(&self) -> &str
pub fn workflow_type(&self) -> &str
Logical workflow type from the package manifest entry module.
Sourcepub fn deployed_entry_module(&self) -> &str
pub fn deployed_entry_module(&self) -> &str
Namespaced module name to spawn for this package version.
Sourcepub fn entry_function(&self) -> &str
pub fn entry_function(&self) -> &str
Exported function to spawn for this package version.
Sourcepub fn version(&self) -> &ContentHash
pub fn version(&self) -> &ContentHash
Content-hash version identifying this package.
Sourcepub fn declared_timeout(&self) -> Option<Duration>
pub fn declared_timeout(&self) -> Option<Duration>
The entry’s explicitly authored workflow timeout, or None.
Some only when the package identity commits to a declared timeout; the
start path arms a deadline exactly when this is Some, so a legacy or
defaulted manifest — which resolves to None here — arms nothing.
Trait Implementations§
Source§impl Clone for LoadedWorkflow
impl Clone for LoadedWorkflow
Source§fn clone(&self) -> LoadedWorkflow
fn clone(&self) -> LoadedWorkflow
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 moreSource§impl Debug for LoadedWorkflow
impl Debug for LoadedWorkflow
impl Eq for LoadedWorkflow
Source§impl PartialEq for LoadedWorkflow
impl PartialEq for LoadedWorkflow
impl StructuralPartialEq for LoadedWorkflow
Auto Trait Implementations§
impl Freeze for LoadedWorkflow
impl RefUnwindSafe for LoadedWorkflow
impl Send for LoadedWorkflow
impl Sync for LoadedWorkflow
impl Unpin for LoadedWorkflow
impl UnsafeUnpin for LoadedWorkflow
impl UnwindSafe for LoadedWorkflow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.