pub struct SplitTaskResult<TState> {
pub task_index: usize,
pub result: Result<TaskResult<TState>, CanoError>,
}Expand description
Result of a single split task execution
Fields§
§task_index: usizeIndex of the task in the split tasks vector
result: Result<TaskResult<TState>, CanoError>Result of the task execution
Trait Implementations§
Source§impl<TState: Clone> Clone for SplitTaskResult<TState>
impl<TState: Clone> Clone for SplitTaskResult<TState>
Source§fn clone(&self) -> SplitTaskResult<TState>
fn clone(&self) -> SplitTaskResult<TState>
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 moreAuto Trait Implementations§
impl<TState> Freeze for SplitTaskResult<TState>where
TState: Freeze,
impl<TState> RefUnwindSafe for SplitTaskResult<TState>where
TState: RefUnwindSafe,
impl<TState> Send for SplitTaskResult<TState>where
TState: Send,
impl<TState> Sync for SplitTaskResult<TState>where
TState: Sync,
impl<TState> Unpin for SplitTaskResult<TState>where
TState: Unpin,
impl<TState> UnwindSafe for SplitTaskResult<TState>where
TState: 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