[][src]Struct actix_raft::storage::GetLogEntries

pub struct GetLogEntries<D: AppData, E: AppError> {
    pub start: u64,
    pub stop: u64,
    // some fields omitted
}

A request from Raft to get a series of log entries from storage.

The start value is inclusive in the search and the stop value is non-inclusive: [start, stop).

Fields

start: u64stop: u64

Methods

impl<D: AppData, E: AppError> GetLogEntries<D, E>[src]

pub fn new(start: u64, stop: u64) -> Self[src]

Trait Implementations

impl<D: AppData, E: AppError> Message for GetLogEntries<D, E>[src]

type Result = Result<Vec<Entry<D>>, E>

The type of value that this message will resolved with if it is successful. Read more

Auto Trait Implementations

impl<D, E> RefUnwindSafe for GetLogEntries<D, E> where
    D: RefUnwindSafe,
    E: RefUnwindSafe

impl<D, E> Send for GetLogEntries<D, E>

impl<D, E> Sync for GetLogEntries<D, E>

impl<D, E> Unpin for GetLogEntries<D, E> where
    D: Unpin,
    E: Unpin

impl<D, E> UnwindSafe for GetLogEntries<D, E> where
    D: UnwindSafe,
    E: 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> From<T> for T[src]

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

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>,