pub enum RunValue {
Json(Value),
Handle(TypedChannelHandle),
}Expand description
A value reachable by value_ref during channel-op dispatch. Rust
adopters fill the run context with whatever shape their step
outputs use; we only require the two access modes the dotted-access
resolver needs (mapping access by string key + nested handle/JSON).
Variants§
Json(Value)
Primitive / structured payload; serde_json::Value covers
scalars, arrays, and recursive objects so dotted access can
walk arbitrary JSON.
Handle(TypedChannelHandle)
A live channel handle from the registry. Returned from
discover and from listen on a second-order channel.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunValue
impl RefUnwindSafe for RunValue
impl Send for RunValue
impl Sync for RunValue
impl Unpin for RunValue
impl UnsafeUnpin for RunValue
impl UnwindSafe for RunValue
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§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.