pub struct LineageEngine { /* private fields */ }Expand description
Engine to record and query workflow causal provenance DAGs.
Implementations§
Source§impl LineageEngine
impl LineageEngine
pub fn new() -> Self
pub fn add_node(&mut self, node: LineageNode)
pub fn add_edge(&mut self, source: &str, target: &str, relation: &str)
pub fn get_mcard_lineage(&self, target_uri: &str) -> LineageDAG
pub fn to_mermaid(&self, dag: &LineageDAG) -> String
pub fn to_dot(&self, dag: &LineageDAG) -> String
Trait Implementations§
Source§impl Clone for LineageEngine
impl Clone for LineageEngine
Source§impl Debug for LineageEngine
impl Debug for LineageEngine
Auto Trait Implementations§
impl Freeze for LineageEngine
impl RefUnwindSafe for LineageEngine
impl Send for LineageEngine
impl Sync for LineageEngine
impl Unpin for LineageEngine
impl UnsafeUnpin for LineageEngine
impl UnwindSafe for LineageEngine
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