pub struct NodeTarget<N>(/* private fields */);Available on crate feature
multiagent only.Expand description
A rig-multiagent node (a swarm, a graph, an agent) as a target; see
node_target.
Trait Implementations§
Source§impl<N: Node> Target for NodeTarget<N>
impl<N: Node> Target for NodeTarget<N>
Source§fn run<'a>(
&'a self,
case: &'a Case,
) -> WasmBoxedFuture<'a, Result<TargetOutput, TargetError>>
fn run<'a>( &'a self, case: &'a Case, ) -> WasmBoxedFuture<'a, Result<TargetOutput, TargetError>>
Run
case.Auto Trait Implementations§
impl<N> Forget for NodeTarget<N>
impl<N> Freeze for NodeTarget<N>where
N: Freeze,
impl<N> Move for NodeTarget<N>
impl<N> RefUnwindSafe for NodeTarget<N>where
N: RefUnwindSafe,
impl<N> Send for NodeTarget<N>where
N: Send,
impl<N> Sync for NodeTarget<N>where
N: Sync,
impl<N> Unpin for NodeTarget<N>where
N: Unpin,
impl<N> UnsafeUnpin for NodeTarget<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for NodeTarget<N>where
N: UnwindSafe,
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> 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> 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 moreCreates a shared type from an unshared type.