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> StoreCopy for SubmitSummaryWithResponses<R>where
R: StoreCopy,
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