Struct tarpc::rpc::Response [−][src]
A response from a server to a client.
Fields (Non-exhaustive)
request_id: u64
The ID of the request being responded to.
message: Result<T, ServerError>
The response body, or an error if the request failed.
Trait Implementations
impl<T: Clone> Clone for Response<T>
[src][+]
impl<T: Debug> Debug for Response<T>
[src][+]
impl<'de, T> Deserialize<'de> for Response<T> where
T: Deserialize<'de>,
[src][+]
T: Deserialize<'de>,
impl<T: Eq> Eq for Response<T>
[src]
impl<T: Hash> Hash for Response<T>
[src][+]
impl<T: PartialEq> PartialEq<Response<T>> for Response<T>
[src][+]
impl<T> Serialize for Response<T> where
T: Serialize,
[src][+]
T: Serialize,
impl<C> Sink<Response<<C as Channel>::Resp>> for Throttler<C> where
C: Channel,
[src][+]
C: Channel,
impl<Req, Resp, T> Sink<Response<Resp>> for BaseChannel<Req, Resp, T> where
T: Transport<Response<Resp>, ClientMessage<Req>>,
[src][+]
T: Transport<Response<Resp>, ClientMessage<Req>>,
impl<T> StructuralEq for Response<T>
[src]
impl<T> StructuralPartialEq for Response<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Response<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Response<T> where
T: Send,
T: Send,
impl<T> Sync for Response<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Response<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Response<T> where
T: UnwindSafe,
T: 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,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,