[−][src]Struct actix_raft::storage::ReplicateToStateMachine
A request from Raft to apply the given payload of entries to the state machine, as part of replication.
The Raft protocol guarantees that only logs which have been committed, that is, logs which have been replicated to a majority of the cluster, will be applied to the state machine.
Fields
payload: Vec<Entry<D>>
Methods
impl<D: AppData, E: AppError> ReplicateToStateMachine<D, E>
[src]
Trait Implementations
impl<D: AppData, E: AppError> Message for ReplicateToStateMachine<D, E>
[src]
Auto Trait Implementations
impl<D, E> RefUnwindSafe for ReplicateToStateMachine<D, E> where
D: RefUnwindSafe,
E: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for ReplicateToStateMachine<D, E>
impl<D, E> Sync for ReplicateToStateMachine<D, E>
impl<D, E> Unpin for ReplicateToStateMachine<D, E> where
D: Unpin,
E: Unpin,
D: Unpin,
E: Unpin,
impl<D, E> UnwindSafe for ReplicateToStateMachine<D, E> where
D: UnwindSafe,
E: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,