pub struct CommitResult {
pub committed_blocks: Vec<Block>,
pub pending_epoch: Option<Epoch>,
}Expand description
Result of a commit operation
Fields§
§committed_blocks: Vec<Block>§pending_epoch: Option<Epoch>If an epoch transition was triggered by end_block, the new epoch (start_view is placeholder)
Auto Trait Implementations§
impl Freeze for CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnsafeUnpin for CommitResult
impl UnwindSafe for CommitResult
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