pub struct WorkflowLoader;Expand description
Workflow loader
Implementations§
Source§impl WorkflowLoader
impl WorkflowLoader
Sourcepub async fn load_from_file(path: &Path) -> Result<WorkflowDefinition>
pub async fn load_from_file(path: &Path) -> Result<WorkflowDefinition>
Load workflow from YAML file
Sourcepub fn load_from_str(yaml: &str) -> Result<WorkflowDefinition>
pub fn load_from_str(yaml: &str) -> Result<WorkflowDefinition>
Load workflow from YAML string
Sourcepub async fn load_from_directory(dir: &Path) -> Result<WorkflowDefinition>
pub async fn load_from_directory(dir: &Path) -> Result<WorkflowDefinition>
Load workflow from directory
Auto Trait Implementations§
impl Freeze for WorkflowLoader
impl RefUnwindSafe for WorkflowLoader
impl Send for WorkflowLoader
impl Sync for WorkflowLoader
impl Unpin for WorkflowLoader
impl UnsafeUnpin for WorkflowLoader
impl UnwindSafe for WorkflowLoader
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