pub enum PersistKind {
HardState,
Entries,
}Expand description
Which kind of durable write a Persisted event acknowledges.
Variants§
HardState
A hard state write (current term and voted-for) completed.
Entries
A log entries write completed through up_to_index.
Trait Implementations§
Source§impl Clone for PersistKind
impl Clone for PersistKind
impl Copy for PersistKind
Source§impl Debug for PersistKind
impl Debug for PersistKind
impl Eq for PersistKind
Source§impl PartialEq for PersistKind
impl PartialEq for PersistKind
impl StructuralPartialEq for PersistKind
Auto Trait Implementations§
impl Forget for PersistKind
impl Freeze for PersistKind
impl Move for PersistKind
impl RefUnwindSafe for PersistKind
impl Send for PersistKind
impl Sync for PersistKind
impl Unpin for PersistKind
impl UnsafeUnpin for PersistKind
impl UnwindSafe for PersistKind
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