pub enum RemoteCallResponse<T> {
Result {
operation: String,
request_id: String,
payload: T,
},
Error {
operation: String,
request_id: String,
error: String,
},
Status {
operation: String,
request_id: String,
status: String,
},
}Expand description
RemoteCallResponse variants.
Variants§
Result
Result variant.
Fields
§
payload: Tpayload field for payload.
Error
Error variant.
Fields
Status
Status variant.
Trait Implementations§
Source§impl<T: Clone> Clone for RemoteCallResponse<T>
impl<T: Clone> Clone for RemoteCallResponse<T>
Source§fn clone(&self) -> RemoteCallResponse<T>
fn clone(&self) -> RemoteCallResponse<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for RemoteCallResponse<T>
impl<T: Debug> Debug for RemoteCallResponse<T>
Source§impl<T: PartialEq> PartialEq for RemoteCallResponse<T>
impl<T: PartialEq> PartialEq for RemoteCallResponse<T>
impl<T: Eq> Eq for RemoteCallResponse<T>
impl<T> StructuralPartialEq for RemoteCallResponse<T>
Auto Trait Implementations§
impl<T> Freeze for RemoteCallResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for RemoteCallResponse<T>where
T: RefUnwindSafe,
impl<T> Send for RemoteCallResponse<T>where
T: Send,
impl<T> Sync for RemoteCallResponse<T>where
T: Sync,
impl<T> Unpin for RemoteCallResponse<T>where
T: Unpin,
impl<T> UnsafeUnpin for RemoteCallResponse<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RemoteCallResponse<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.