pub struct Committed {
pub state: Value,
pub pending: Vec<Pending>,
pub decisions: Vec<Decision>,
}Expand description
The batch, decided.
Fields§
§state: ValueThe accumulator after every accepted event. Speculative: it becomes the application’s state only once the host’s append succeeds.
pending: Vec<Pending>The events to append, in order, at base + 1 ….
decisions: Vec<Decision>One per proposal, in the order they were given.
Auto Trait Implementations§
impl Freeze for Committed
impl RefUnwindSafe for Committed
impl Send for Committed
impl Sync for Committed
impl Unpin for Committed
impl UnwindSafe for Committed
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