[−][src]Struct actix_raft::storage::AppendEntryToLog
A request from Raft to append a new entry to the log.
These requests come about via client requests, and as such, this is the only RaftStorage interface which is allowed to return errors which will not cause Raft to shutdown. Application errors coming from this interface will be sent back as-is to the call point where your application originally presented the client request to Raft.
This property of error handling allows you to keep your application logic as close to the storage layer as needed.
Fields
entry: Arc<Entry<D>>
Methods
impl<D: AppData, E: AppError> AppendEntryToLog<D, E>
[src]
Trait Implementations
impl<D: AppData, E: AppError> Message for AppendEntryToLog<D, E>
[src]
Auto Trait Implementations
impl<D, E> RefUnwindSafe for AppendEntryToLog<D, E> where
D: RefUnwindSafe,
E: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<D, E> Send for AppendEntryToLog<D, E>
impl<D, E> Sync for AppendEntryToLog<D, E>
impl<D, E> Unpin for AppendEntryToLog<D, E> where
E: Unpin,
E: Unpin,
impl<D, E> UnwindSafe for AppendEntryToLog<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>,