pub enum SchedulerClass {
ParallelReadOnly,
ParallelRetrySafe,
Serial,
Exclusive,
PolicyRequired,
}Expand description
Conservative scheduler lane derived only from declared tool metadata.
Variants§
ParallelReadOnly
Known read-only, parallel-safe work.
ParallelRetrySafe
Known mutation that is idempotent/reconciled and automatically retry-safe.
Serial
Work must share a serial lane.
Exclusive
Work requires an exclusive lane.
PolicyRequired
Unknown effects require policy and serial scheduling.
Implementations§
Source§impl SchedulerClass
impl SchedulerClass
Sourcepub const fn requires_policy(self) -> bool
pub const fn requires_policy(self) -> bool
Returns whether explicit policy evaluation is mandatory.
Sourcepub const fn allows_parallel_execution(self) -> bool
pub const fn allows_parallel_execution(self) -> bool
Returns whether this class permits concurrent execution.
Trait Implementations§
Source§impl Clone for SchedulerClass
impl Clone for SchedulerClass
Source§fn clone(&self) -> SchedulerClass
fn clone(&self) -> SchedulerClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SchedulerClass
Source§impl Debug for SchedulerClass
impl Debug for SchedulerClass
impl Eq for SchedulerClass
Source§impl PartialEq for SchedulerClass
impl PartialEq for SchedulerClass
impl StructuralPartialEq for SchedulerClass
Auto Trait Implementations§
impl Freeze for SchedulerClass
impl RefUnwindSafe for SchedulerClass
impl Send for SchedulerClass
impl Sync for SchedulerClass
impl Unpin for SchedulerClass
impl UnsafeUnpin for SchedulerClass
impl UnwindSafe for SchedulerClass
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