pub enum TaskGroupOutput<Out> {
TaskOutput(usize, Out),
OnResourceEmpty,
}
Variants§
Trait Implementations§
Source§impl<Out: Debug> Debug for TaskGroupOutput<Out>
impl<Out: Debug> Debug for TaskGroupOutput<Out>
Source§impl<In, Out, T: Task<In, Out>, const STACK_SIZE: usize> TaskSwitcherChild<TaskGroupOutput<Out>> for TaskGroup<In, Out, T, STACK_SIZE>
impl<In, Out, T: Task<In, Out>, const STACK_SIZE: usize> TaskSwitcherChild<TaskGroupOutput<Out>> for TaskGroup<In, Out, T, STACK_SIZE>
Source§fn pop_output(&mut self, now: Self::Time) -> Option<TaskGroupOutput<Out>>
fn pop_output(&mut self, now: Self::Time) -> Option<TaskGroupOutput<Out>>
Retrieves the output from the flagged processed task.
type Time = <T as TaskSwitcherChild<Out>>::Time
fn empty_event(&self) -> TaskGroupOutput<Out>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<Out> Freeze for TaskGroupOutput<Out>where
Out: Freeze,
impl<Out> RefUnwindSafe for TaskGroupOutput<Out>where
Out: RefUnwindSafe,
impl<Out> Send for TaskGroupOutput<Out>where
Out: Send,
impl<Out> Sync for TaskGroupOutput<Out>where
Out: Sync,
impl<Out> Unpin for TaskGroupOutput<Out>where
Out: Unpin,
impl<Out> UnwindSafe for TaskGroupOutput<Out>where
Out: 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