pub struct FoldInFlight {
pub from: usize,
pub to: usize,
pub effect_seq: u32,
}Expand description
A summarizer turn in flight: which transcript entries its result will
stand in for, and the effect_seq it was dispatched under.
Held in state rather than re-derived, because the decision of WHAT to fold
is made before the model answers and must not be re-made afterwards: the
transcript has not changed in between, but re-deriving would couple the
splice to whatever fold_range returns at resolution time rather than to
what the journaled request actually summarized.
Fields§
§from: usizeFirst transcript index covered (inclusive).
to: usizeOne past the last covered index.
effect_seq: u32The summarizer turn’s own effect ordinal.
Trait Implementations§
Source§impl Clone for FoldInFlight
impl Clone for FoldInFlight
Source§impl Debug for FoldInFlight
impl Debug for FoldInFlight
Source§impl<'de> Deserialize<'de> for FoldInFlight
impl<'de> Deserialize<'de> for FoldInFlight
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
impl Eq for FoldInFlight
Source§impl PartialEq for FoldInFlight
impl PartialEq for FoldInFlight
Source§impl Serialize for FoldInFlight
impl Serialize for FoldInFlight
impl StructuralPartialEq for FoldInFlight
Auto Trait Implementations§
impl Freeze for FoldInFlight
impl RefUnwindSafe for FoldInFlight
impl Send for FoldInFlight
impl Sync for FoldInFlight
impl Unpin for FoldInFlight
impl UnsafeUnpin for FoldInFlight
impl UnwindSafe for FoldInFlight
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