Skip to main content

WorkflowOutputValue

Trait WorkflowOutputValue 

Source
pub trait WorkflowOutputValue:
    Any
    + TemporalSerializable
    + Sealed {
    // Required method
    fn as_any(&self) -> &(dyn Any + 'static);
}
Expand description

Type-erased workflow output carried through the workflow interceptor chain.

Required Methods§

Source

fn as_any(&self) -> &(dyn Any + 'static)

Access this value as Any for type-specific inspection.

Implementations§

Source§

impl dyn WorkflowOutputValue

Source

pub fn downcast_ref<T>(&self) -> Option<&T>
where T: Any,

Attempt to access the workflow output as a concrete type.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§