pub struct WorkResult<R> {
pub agent_id: AgentId,
pub step: CycleStep,
pub response: Result<R, BatchError>,
}Expand description
Result of processing a single work item.
Fields§
§agent_id: AgentIdWhich agent this result belongs to.
step: CycleStepWhich cycle step produced this result.
response: Result<R, BatchError>The response from the backend.
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for WorkResult<R>where
R: Freeze,
impl<R> RefUnwindSafe for WorkResult<R>where
R: RefUnwindSafe,
impl<R> Send for WorkResult<R>where
R: Send,
impl<R> Sync for WorkResult<R>where
R: Sync,
impl<R> Unpin for WorkResult<R>where
R: Unpin,
impl<R> UnsafeUnpin for WorkResult<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for WorkResult<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