pub enum RaftCommand {
Noop,
Read {
id: u64,
keys: Vec<String>,
},
CompareExchange {
id: u64,
keys: Vec<String>,
expected: Vec<JournalVersion>,
updates: Vec<Option<Vec<String>>>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RaftCommand
impl Clone for RaftCommand
Source§impl Debug for RaftCommand
impl Debug for RaftCommand
impl Eq for RaftCommand
Source§impl PartialEq for RaftCommand
impl PartialEq for RaftCommand
impl StructuralPartialEq for RaftCommand
Auto Trait Implementations§
impl Freeze for RaftCommand
impl RefUnwindSafe for RaftCommand
impl Send for RaftCommand
impl Sync for RaftCommand
impl Unpin for RaftCommand
impl UnsafeUnpin for RaftCommand
impl UnwindSafe for RaftCommand
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