pub struct LogEntry {
pub term: Term,
pub kind: EntryKind,
}Expand description
One replicated log entry.
Fields§
§term: TermThe term of the leader that created this entry.
kind: EntryKindThe entry payload.
Implementations§
Trait Implementations§
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Forget for LogEntry
impl Freeze for LogEntry
impl Move for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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