Struct agreed::raft::ClientWriteResponse [−][src]
pub struct ClientWriteResponse<R: AppDataResponse> { pub index: u64, pub data: R, }
Expand description
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<R: Debug + AppDataResponse> Debug for ClientWriteResponse<R>
[src]impl<'de, R: AppDataResponse> Deserialize<'de> for ClientWriteResponse<R> where
R: AppDataResponse,
[src]
impl<'de, R: AppDataResponse> Deserialize<'de> for ClientWriteResponse<R> where
R: AppDataResponse,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<R: AppDataResponse> Serialize 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,
R: RefUnwindSafe,
impl<R> Send for ClientWriteResponse<R>
impl<R> Sync for ClientWriteResponse<R>
impl<R> Unpin for ClientWriteResponse<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for ClientWriteResponse<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,