Struct brane_ast::ast_unresolved::UnresolvedWorkflow
source · pub struct UnresolvedWorkflow {
pub main_edges: EdgeBuffer,
pub f_edges: HashMap<usize, EdgeBuffer>,
pub metadata: Arc<HashSet<Metadata>>,
}
Expand description
Defines a variant of a normal Workflow, which is meant to be an ‘executable but reasonable’ graph but with inter-edge links in an unserializable state. They have to be resolved to indices before they can be run.
Fields§
§main_edges: EdgeBuffer
The main buffer to start executing, which references all other buffers.
f_edges: HashMap<usize, EdgeBuffer>
The list of EdgeBuffers that implement functions. Every buffer is mapped by the function’s ID in the workflow table.
metadata: Arc<HashSet<Metadata>>
Toplevel metadata
Implementations§
source§impl UnresolvedWorkflow
impl UnresolvedWorkflow
sourcepub fn new(main_edges: EdgeBuffer, f_edges: HashMap<usize, EdgeBuffer>) -> Self
pub fn new(main_edges: EdgeBuffer, f_edges: HashMap<usize, EdgeBuffer>) -> Self
Trait Implementations§
source§impl Clone for UnresolvedWorkflow
impl Clone for UnresolvedWorkflow
source§fn clone(&self) -> UnresolvedWorkflow
fn clone(&self) -> UnresolvedWorkflow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for UnresolvedWorkflow
impl !RefUnwindSafe for UnresolvedWorkflow
impl !Send for UnresolvedWorkflow
impl !Sync for UnresolvedWorkflow
impl Unpin for UnresolvedWorkflow
impl !UnwindSafe for UnresolvedWorkflow
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request