pub enum SchedError {
Unsupported,
OutOfRange,
KernelError,
}Expand description
Errors returned by PlatformScheduler entry points.
Variants§
Unsupported
The active platform doesn’t expose this control surface (e.g. bare-metal with no scheduler, or an RTOS without an affinity API).
OutOfRange
The requested policy is valid for this platform but the numeric arguments fall outside the platform’s accepted range.
KernelError
A platform-specific syscall / kernel call failed; check
errno (POSIX) or the RTOS error code for details.
Trait Implementations§
Source§impl Clone for SchedError
impl Clone for SchedError
Source§fn clone(&self) -> SchedError
fn clone(&self) -> SchedError
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 SchedError
impl Debug for SchedError
Source§impl PartialEq for SchedError
impl PartialEq for SchedError
impl Copy for SchedError
impl Eq for SchedError
impl StructuralPartialEq for SchedError
Auto Trait Implementations§
impl Freeze for SchedError
impl RefUnwindSafe for SchedError
impl Send for SchedError
impl Sync for SchedError
impl Unpin for SchedError
impl UnsafeUnpin for SchedError
impl UnwindSafe for SchedError
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