pub struct FollowedTurn {
pub turns: Vec<AssembledTurn>,
}Expand description
Result of driving one logical host turn through any foreground handoffs.
A handoff is an internal runtime continuation, similar to compaction from a
host’s perspective. Callers that need a final answer can use
LashRuntime::stream_turn_following_handoffs and inspect final_turn().
Fields§
§turns: Vec<AssembledTurn>Implementations§
Source§impl FollowedTurn
impl FollowedTurn
pub fn final_turn(&self) -> Option<&AssembledTurn>
pub fn into_final_turn(self) -> Option<AssembledTurn>
pub fn handoff_count(&self) -> usize
Trait Implementations§
Source§impl Clone for FollowedTurn
impl Clone for FollowedTurn
Source§fn clone(&self) -> FollowedTurn
fn clone(&self) -> FollowedTurn
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 FollowedTurn
impl Debug for FollowedTurn
Source§impl<'de> Deserialize<'de> for FollowedTurn
impl<'de> Deserialize<'de> for FollowedTurn
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 FollowedTurn
impl !RefUnwindSafe for FollowedTurn
impl Send for FollowedTurn
impl Sync for FollowedTurn
impl Unpin for FollowedTurn
impl UnsafeUnpin for FollowedTurn
impl !UnwindSafe for FollowedTurn
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