pub struct ResultGroup<T, E>(/* private fields */);Expand description
A collection of results from multiple worker operations.
ResultGroup is typically used to aggregate the results of dispatching
a ServiceCommand to multiple workers in a WorkerManager.
It provides a convenient way to handle and process multiple results as a single unit.
Implementations§
Trait Implementations§
Source§impl<T, E> From<ResultGroup<T, E>> for Vec<Result<T, E>>
impl<T, E> From<ResultGroup<T, E>> for Vec<Result<T, E>>
Source§fn from(value: ResultGroup<T, E>) -> Self
fn from(value: ResultGroup<T, E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T, E> Freeze for ResultGroup<T, E>
impl<T, E> RefUnwindSafe for ResultGroup<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for ResultGroup<T, E>
impl<T, E> Sync for ResultGroup<T, E>
impl<T, E> Unpin for ResultGroup<T, E>
impl<T, E> UnwindSafe for ResultGroup<T, E>where
T: UnwindSafe,
E: 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