[][src]Struct async_raft::raft::ClientWriteResponse

pub struct ClientWriteResponse<R: AppDataResponse> {
    pub index: u64,
    pub data: R,
}

The response to a ClientRequest.

Fields

index: u64

The log index of the successfully processed client request.

data: R

Application specific response data.

Trait Implementations

impl<R: Debug + AppDataResponse> Debug for ClientWriteResponse<R>[src]

impl<'de, R: AppDataResponse> Deserialize<'de> for ClientWriteResponse<R> where
    R: AppDataResponse
[src]

impl<R: AppDataResponse> Serialize for ClientWriteResponse<R> where
    R: AppDataResponse
[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for ClientWriteResponse<R> where
    R: RefUnwindSafe
[src]

impl<R> Send for ClientWriteResponse<R>[src]

impl<R> Sync for ClientWriteResponse<R>[src]

impl<R> Unpin for ClientWriteResponse<R> where
    R: Unpin
[src]

impl<R> UnwindSafe for ClientWriteResponse<R> where
    R: UnwindSafe
[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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>, 

impl<T> WithSubscriber for T[src]