pub struct Step<PT: ProtocolTypes> {
pub agent: AgentName,
pub action: Action<PT>,
}
Fields§
§agent: AgentName
§action: Action<PT>
Implementations§
source§impl<PT: ProtocolTypes> Step<PT>
impl<PT: ProtocolTypes> Step<PT>
fn execute<PB>(&self, ctx: &mut TraceContext<PB>) -> Result<(), Error>where
PB: ProtocolBehavior<ProtocolTypes = PT>,
Trait Implementations§
source§impl<'de, PT> Deserialize<'de> for Step<PT>where
PT: ProtocolTypes,
impl<'de, PT> Deserialize<'de> for Step<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
Auto Trait Implementations§
impl<PT> Freeze for Step<PT>
impl<PT> !RefUnwindSafe for Step<PT>
impl<PT> Send for Step<PT>
impl<PT> Sync for Step<PT>
impl<PT> Unpin for Step<PT>
impl<PT> !UnwindSafe for Step<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.