pub enum NodeKind<'a> {
Standard(&'a String),
Runtime(&'a RuntimeNode),
Operator(&'a SingleOperatorDefinition),
Ros2Bridge(&'a Ros2BridgeConfig),
Module(&'a String),
}Expand description
The implementation kind of a Node, returned by NodeExt::kind.
Each variant borrows the one exclusive field that was set on the node.
Variants§
Standard(&'a String)
A custom node run from an executable path.
Runtime(&'a RuntimeNode)
A dora runtime node hosting one or more in-process operators.
Operator(&'a SingleOperatorDefinition)
A node defined by a single inline operator.
Ros2Bridge(&'a Ros2BridgeConfig)
A ROS2 bridge node.
Module(&'a String)
A module (sub-dataflow) reference — must be expanded before resolution.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NodeKind<'a>
impl<'a> RefUnwindSafe for NodeKind<'a>
impl<'a> Send for NodeKind<'a>
impl<'a> Sync for NodeKind<'a>
impl<'a> Unpin for NodeKind<'a>
impl<'a> UnsafeUnpin for NodeKind<'a>
impl<'a> UnwindSafe for NodeKind<'a>
Blanket Implementations§
impl<T> Allocation for T
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more