[][src]Enum actix_raft::messages::EntryPayload

pub enum EntryPayload<D: AppData> {
    Blank,
    Normal(EntryNormal<D>),
    ConfigChange(EntryConfigChange),
    SnapshotPointer(EntrySnapshotPointer),
}

Log entry payload variants.

Variants

Blank

An empty payload committed by a new cluster leader.

Normal(EntryNormal<D>)

A normal log entry.

ConfigChange(EntryConfigChange)

A config change log entry.

SnapshotPointer(EntrySnapshotPointer)

An entry which points to a snapshot.

Trait Implementations

impl<D: Clone + AppData> Clone for EntryPayload<D>[src]

impl<D: Debug + AppData> Debug for EntryPayload<D>[src]

impl<'de, D: AppData> Deserialize<'de> for EntryPayload<D> where
    D: AppData
[src]

impl<D: PartialEq + AppData> PartialEq<EntryPayload<D>> for EntryPayload<D>[src]

impl<D: AppData> Serialize for EntryPayload<D> where
    D: AppData
[src]

impl<D: AppData> StructuralPartialEq for EntryPayload<D>[src]

Auto Trait Implementations

impl<D> RefUnwindSafe for EntryPayload<D> where
    D: RefUnwindSafe

impl<D> Send for EntryPayload<D>

impl<D> Sync for EntryPayload<D>

impl<D> Unpin for EntryPayload<D> where
    D: Unpin

impl<D> UnwindSafe for EntryPayload<D> where
    D: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,