Struct puffin::trace::InputAction
source · pub struct InputAction<PT: ProtocolTypes> {
pub precomputations: Vec<Precomputation<PT>>,
pub recipe: Term<PT>,
}Expand description
Provide inputs to the Agent.
The InputAction evaluates the recipe term and injects the newly produced message
into the inbound channel of the Agent referenced through the corresponding Steps
by calling add_to_inbound(...) and then drives the state machine forward.
Fields§
§precomputations: Vec<Precomputation<PT>>§recipe: Term<PT>Implementations§
source§impl<PT: ProtocolTypes> InputAction<PT>
impl<PT: ProtocolTypes> InputAction<PT>
Processes messages in the inbound channel. Uses the recipe field to evaluate to a rustls Message
or a MultiMessage.
Trait Implementations§
source§impl<PT: Clone + ProtocolTypes> Clone for InputAction<PT>
impl<PT: Clone + ProtocolTypes> Clone for InputAction<PT>
source§fn clone(&self) -> InputAction<PT>
fn clone(&self) -> InputAction<PT>
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<PT: Debug + ProtocolTypes> Debug for InputAction<PT>
impl<PT: Debug + ProtocolTypes> Debug for InputAction<PT>
source§impl<'de, PT> Deserialize<'de> for InputAction<PT>where
PT: ProtocolTypes,
impl<'de, PT> Deserialize<'de> for InputAction<PT>where
PT: ProtocolTypes,
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<PT: ProtocolTypes> Display for InputAction<PT>
impl<PT: ProtocolTypes> Display for InputAction<PT>
source§impl<PT: Hash + ProtocolTypes> Hash for InputAction<PT>
impl<PT: Hash + ProtocolTypes> Hash for InputAction<PT>
source§impl<PT> Serialize for InputAction<PT>where
PT: ProtocolTypes,
impl<PT> Serialize for InputAction<PT>where
PT: ProtocolTypes,
Auto Trait Implementations§
impl<PT> Freeze for InputAction<PT>
impl<PT> !RefUnwindSafe for InputAction<PT>
impl<PT> Send for InputAction<PT>
impl<PT> Sync for InputAction<PT>
impl<PT> Unpin for InputAction<PT>
impl<PT> !UnwindSafe for InputAction<PT>
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
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)§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.