pub struct ProposalResult {
pub pending_epoch: Option<Epoch>,
pub commit_result: Option<CommitResult>,
}Expand description
Execute step (3): Replica receives proposal, validates, votes.
Returns Option<Epoch> if fast-forward commit triggered an epoch change.
Result of on_proposal that may include a fast-forward commit.
Fields§
§pending_epoch: Option<Epoch>Pending epoch from the fast-forward commit (if any).
commit_result: Option<CommitResult>CommitResult from the fast-forward DC commit (if any). The engine must process this for WAL, tx indexing, evidence marking, etc.
Auto Trait Implementations§
impl Freeze for ProposalResult
impl RefUnwindSafe for ProposalResult
impl Send for ProposalResult
impl Sync for ProposalResult
impl Unpin for ProposalResult
impl UnsafeUnpin for ProposalResult
impl UnwindSafe for ProposalResult
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