pub enum SubmitSummaryWithResponses<R> {
Responses(Vec<R>),
Errors(usize, Vec<R>),
Shutdown,
}
Expand description
A summary of the result of submitting a collection of requests to the request manager and having the device respond. Contains responses.
Variants§
Responses(Vec<R>)
A vector of responses in the same order as the submitted requests.
Errors(usize, Vec<R>)
At least one error occurred. The usize value is the index of the first error.
Shutdown
The request engine was shutdown while the requests were inflight.
Trait Implementations§
source§impl<R: Clone> Clone for SubmitSummaryWithResponses<R>
impl<R: Clone> Clone for SubmitSummaryWithResponses<R>
source§fn clone(&self) -> SubmitSummaryWithResponses<R>
fn clone(&self) -> SubmitSummaryWithResponses<R>
Returns a copy 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<R: Debug> Debug for SubmitSummaryWithResponses<R>
impl<R: Debug> Debug for SubmitSummaryWithResponses<R>
source§impl<R: Hash> Hash for SubmitSummaryWithResponses<R>
impl<R: Hash> Hash for SubmitSummaryWithResponses<R>
source§impl<R: Ord> Ord for SubmitSummaryWithResponses<R>
impl<R: Ord> Ord for SubmitSummaryWithResponses<R>
source§fn cmp(&self, other: &SubmitSummaryWithResponses<R>) -> Ordering
fn cmp(&self, other: &SubmitSummaryWithResponses<R>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<R: PartialEq> PartialEq for SubmitSummaryWithResponses<R>
impl<R: PartialEq> PartialEq for SubmitSummaryWithResponses<R>
source§fn eq(&self, other: &SubmitSummaryWithResponses<R>) -> bool
fn eq(&self, other: &SubmitSummaryWithResponses<R>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl<R: PartialOrd> PartialOrd for SubmitSummaryWithResponses<R>
impl<R: PartialOrd> PartialOrd for SubmitSummaryWithResponses<R>
impl<R: Eq> Eq for SubmitSummaryWithResponses<R>
impl<R> StructuralPartialEq for SubmitSummaryWithResponses<R>
Auto Trait Implementations§
impl<R> !DeviceSync for SubmitSummaryWithResponses<R>
impl<R> Freeze for SubmitSummaryWithResponses<R>
impl<R> !ObjSafe for SubmitSummaryWithResponses<R>
impl<R> RefUnwindSafe for SubmitSummaryWithResponses<R>where
R: RefUnwindSafe,
impl<R> Send for SubmitSummaryWithResponses<R>where
R: Send,
impl<R> Sync for SubmitSummaryWithResponses<R>where
R: Sync,
impl<R> Unpin for SubmitSummaryWithResponses<R>where
R: Unpin,
impl<R> UnwindSafe for SubmitSummaryWithResponses<R>where
R: 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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.