[−][src]Struct actix_raft::storage::ApplyEntryToStateMachine
A request from Raft to apply the given log entry to the state machine.
This handler is called as part of the client request path. Client requests which are
configured to respond after they have been Applied
will wait until after this handler
returns before issuing a response to the client request.
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: Arc<Entry<D>>
Methods
impl<D: AppData, R: AppDataResponse, E: AppError> ApplyEntryToStateMachine<D, R, E>
[src]
Trait Implementations
impl<D: AppData, R: AppDataResponse, E: AppError> Message for ApplyEntryToStateMachine<D, R, E>
[src]
Auto Trait Implementations
impl<D, R, E> RefUnwindSafe for ApplyEntryToStateMachine<D, R, E> where
D: RefUnwindSafe,
E: RefUnwindSafe,
R: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<D, R, E> Send for ApplyEntryToStateMachine<D, R, E>
impl<D, R, E> Sync for ApplyEntryToStateMachine<D, R, E>
impl<D, R, E> Unpin for ApplyEntryToStateMachine<D, R, E> where
E: Unpin,
R: Unpin,
E: Unpin,
R: Unpin,
impl<D, R, E> UnwindSafe for ApplyEntryToStateMachine<D, R, E> where
D: RefUnwindSafe,
E: UnwindSafe,
R: UnwindSafe,
D: RefUnwindSafe,
E: UnwindSafe,
R: 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>,