pub struct Committed {
pub index: LogIndex,
pub command: Vec<u8>,
}Expand description
A committed application command ready to apply to the state machine.
Fields§
§index: LogIndexLog index of the command.
command: Vec<u8>The application-encoded command bytes.
Trait Implementations§
impl Eq for Committed
impl StructuralPartialEq for Committed
Auto Trait Implementations§
impl Freeze for Committed
impl RefUnwindSafe for Committed
impl Send for Committed
impl Sync for Committed
impl Unpin for Committed
impl UnsafeUnpin 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