pub enum SchedulerStrategy {
    Interleave,
    Sequential,
}Expand description
Defines the scheduling strategy for task execution.
Variants§
Interleave
Tasks from different streams are interleaved during execution.
Sequential
Tasks from each stream are executed sequentially.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchedulerStrategy
impl RefUnwindSafe for SchedulerStrategy
impl Send for SchedulerStrategy
impl Sync for SchedulerStrategy
impl Unpin for SchedulerStrategy
impl UnwindSafe for SchedulerStrategy
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