Struct raft_consensus::Entry[][src]

pub struct Entry {
    pub term: Term,
    pub data: Vec<u8>,
}

Type representing a log entry

Fields

Methods

impl Entry
[src]

Trait Implementations

impl Debug for Entry
[src]

Formats the value using the given formatter. Read more

impl Clone for Entry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Entry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Entry> for (Term, Vec<u8>)
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Entry

impl Sync for Entry