[−][src]Struct actix_raft::storage::ReplicateToLog
A request from Raft to replicate a payload of entries to the log.
These requests come about via the Raft leader's replication process. An error coming from this
interface will cause Raft to shutdown, as this is not where application logic should be
returning application specific errors. Application specific constraints may only be enforced
in the AppendEntryToLog
handler.
Though the entries will always be presented in order, each entry's index should be used to determine its location to be written in the log, as logs may need to be overwritten under some circumstances.
Fields
entries: Arc<Vec<Entry<D>>>
Methods
impl<D: AppData, E: AppError> ReplicateToLog<D, E>
[src]
Trait Implementations
impl<D: AppData, E: AppError> Message for ReplicateToLog<D, E>
[src]
Auto Trait Implementations
impl<D, E> RefUnwindSafe for ReplicateToLog<D, E> where
D: RefUnwindSafe,
E: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for ReplicateToLog<D, E>
impl<D, E> Sync for ReplicateToLog<D, E>
impl<D, E> Unpin for ReplicateToLog<D, E> where
E: Unpin,
E: Unpin,
impl<D, E> UnwindSafe for ReplicateToLog<D, E> where
D: RefUnwindSafe,
E: UnwindSafe,
D: RefUnwindSafe,
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>,