Struct artemis::exchange::OperationResult[][src]

pub struct OperationResult<R: DeserializeOwned + Send + Sync + Clone> {
    pub key: u64,
    pub meta: OperationMeta,
    pub response: Response<R>,
}

The result of a successful operation.

Fields

key: u64

The key of the operation passed back by the last exchange

meta: OperationMeta

The metadata of the operation passed back by the last exchange

response: Response<R>

The deserialized response

Trait Implementations

impl<R: Clone + DeserializeOwned + Send + Sync> Clone for OperationResult<R>[src]

impl<R: Debug + DeserializeOwned + Send + Sync + Clone> Debug for OperationResult<R>[src]

impl<R: PartialEq + DeserializeOwned + Send + Sync + Clone> PartialEq<OperationResult<R>> for OperationResult<R>[src]

impl<R: DeserializeOwned + Send + Sync + Clone> StructuralPartialEq for OperationResult<R>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for OperationResult<R> where
    R: RefUnwindSafe

impl<R> Send for OperationResult<R>

impl<R> Sync for OperationResult<R>

impl<R> Unpin for OperationResult<R> where
    R: Unpin

impl<R> UnwindSafe for OperationResult<R> where
    R: 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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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