Struct raft_consensus::Entry [−][src]
Type representing a log entry
Fields
term: Term
data: Vec<u8>
Methods
impl Entry
[src]
impl Entry
Trait Implementations
impl Debug for Entry
[src]
impl Debug for Entry
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Entry
[src]
impl Clone for Entry
fn clone(&self) -> Entry
[src]
fn clone(&self) -> Entry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Entry
[src]
impl PartialEq for Entry
fn eq(&self, other: &Entry) -> bool
[src]
fn eq(&self, other: &Entry) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Entry) -> bool
[src]
fn ne(&self, other: &Entry) -> bool
This method tests for !=
.
impl From<Entry> for (Term, Vec<u8>)
[src]
impl From<Entry> for (Term, Vec<u8>)