pub enum ScheduleError {
NoThreadsAvailable,
InvalidState,
InvalidCpu(usize),
PriorityChangeNotAllowed,
QueueFull,
PreemptionDisabled,
}
Expand description
Errors related to scheduling operations.
Variants§
NoThreadsAvailable
No schedulable threads available
InvalidState
Scheduler is in an invalid state
InvalidCpu(usize)
CPU does not exist or is offline
PriorityChangeNotAllowed
Priority change not allowed
QueueFull
Scheduler queue is full
PreemptionDisabled
Preemption is disabled
Trait Implementations§
Source§impl Clone for ScheduleError
impl Clone for ScheduleError
Source§fn clone(&self) -> ScheduleError
fn clone(&self) -> ScheduleError
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 moreSource§impl Debug for ScheduleError
impl Debug for ScheduleError
Source§impl Display for ScheduleError
impl Display for ScheduleError
Source§impl From<ScheduleError> for ThreadError
impl From<ScheduleError> for ThreadError
Source§fn from(error: ScheduleError) -> Self
fn from(error: ScheduleError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScheduleError
impl PartialEq for ScheduleError
impl Eq for ScheduleError
impl StructuralPartialEq for ScheduleError
Auto Trait Implementations§
impl Freeze for ScheduleError
impl RefUnwindSafe for ScheduleError
impl Send for ScheduleError
impl Sync for ScheduleError
impl Unpin for ScheduleError
impl UnwindSafe for ScheduleError
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