pub enum EntryProposal {
Single(PreparedEntry),
Group(Vec<PreparedEntry>),
}Expand description
A batch of entries a turn task asks the actor to commit
(commit-protocol.md §Vocabulary), in the two shapes the protocol names.
Both answer with exactly one CommitTicket in AckMode::Pipelined;
they differ in what reaches the writer.
Variants§
Single(PreparedEntry)
Group(Vec<PreparedEntry>)
Entries that are one causal event (§Causal groups): the actor
chains them parent→child inside the group and sends one writer
message, which does one write_all, one sync_data and resolves one
ticket. The projection applies the whole group or none of it.
Implementations§
Source§impl EntryProposal
impl EntryProposal
Sourcepub fn of(entries: Vec<PreparedEntry>) -> Self
pub fn of(entries: Vec<PreparedEntry>) -> Self
The shape entries calls for. A turn only ever proposes several
entries together when they are one causal event — the Completed
pair, or a tool-results batch with the subdir instructions that batch
uncovered — so the multi-entry case is always a Group.
Auto Trait Implementations§
impl !Freeze for EntryProposal
impl RefUnwindSafe for EntryProposal
impl Send for EntryProposal
impl Sync for EntryProposal
impl Unpin for EntryProposal
impl UnsafeUnpin for EntryProposal
impl UnwindSafe for EntryProposal
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