Struct raft::RaftLog[][src]

pub struct RaftLog<T: Storage> {
    pub store: T,
    pub unstable: Unstable,
    pub committed: u64,
    pub applied: u64,
    pub tag: String,
}

Raft log implementation

Fields

Methods

impl<T: Storage> RaftLog<T>
[src]

Trait Implementations

impl<T: Default + Storage> Default for RaftLog<T>
[src]

Returns the "default value" for a type. Read more

impl<T> ToString for RaftLog<T> where
    T: Storage
[src]

Converts the given value to a String. Read more

Auto Trait Implementations

impl<T> Send for RaftLog<T> where
    T: Send

impl<T> Sync for RaftLog<T> where
    T: Sync