pub struct AgentFrameRun {
pub turns: Vec<AssembledTurn>,
}Expand description
Result of driving one logical host turn through any AgentFrame switches.
A frame switch is an internal runtime continuation, similar to compaction
from a host’s perspective. Callers that need a final answer can use
LashRuntime::stream_turn_with_agent_frames and inspect final_turn().
Fields§
§turns: Vec<AssembledTurn>Implementations§
Source§impl AgentFrameRun
impl AgentFrameRun
pub fn final_turn(&self) -> Option<&AssembledTurn>
pub fn into_final_turn(self) -> Option<AssembledTurn>
pub fn frame_switch_count(&self) -> usize
Trait Implementations§
Source§impl Clone for AgentFrameRun
impl Clone for AgentFrameRun
Source§fn clone(&self) -> AgentFrameRun
fn clone(&self) -> AgentFrameRun
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentFrameRun
impl Debug for AgentFrameRun
Source§impl<'de> Deserialize<'de> for AgentFrameRun
impl<'de> Deserialize<'de> for AgentFrameRun
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 Freeze for AgentFrameRun
impl RefUnwindSafe for AgentFrameRun
impl Send for AgentFrameRun
impl Sync for AgentFrameRun
impl Unpin for AgentFrameRun
impl UnsafeUnpin for AgentFrameRun
impl UnwindSafe for AgentFrameRun
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