Struct puffin::trace::InputAction
source · Expand description
The InputAction
evaluates the recipe term and injects the newly produced message
into the inbound channel of the Agent
referenced through the corresponding Step
s
by calling add_to_inbound(...)
and then drives the state machine forward.
Fields§
§recipe: Term<M>
Implementations§
source§impl<M: Matcher> InputAction<M>
impl<M: Matcher> InputAction<M>
Processes messages in the inbound channel. Uses the recipe field to evaluate to a rustls Message or a MultiMessage.
pub fn new_step(agent: AgentName, recipe: Term<M>) -> Step<M>
fn input<PB>(
&self,
step: &Step<M>,
ctx: &mut TraceContext<PB>
) -> Result<(), Error>where
PB: ProtocolBehavior<Matcher = M> + ProtocolBehavior,
Trait Implementations§
source§impl<M: Clone + Matcher> Clone for InputAction<M>
impl<M: Clone + Matcher> Clone for InputAction<M>
source§fn clone(&self) -> InputAction<M>
fn clone(&self) -> InputAction<M>
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 moresource§impl<'de, M> Deserialize<'de> for InputAction<M>where
M: Matcher,
impl<'de, M> Deserialize<'de> for InputAction<M>where
M: Matcher,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<M: Matcher> Display for InputAction<M>
impl<M: Matcher> Display for InputAction<M>
Auto Trait Implementations§
impl<M> !RefUnwindSafe for InputAction<M>
impl<M> Send for InputAction<M>where
M: Send,
impl<M> Sync for InputAction<M>where
M: Sync,
impl<M> Unpin for InputAction<M>where
M: Unpin,
impl<M> !UnwindSafe for InputAction<M>
Blanket Implementations§
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.