pub enum MigrateError {
BadContext(MaybeKind),
BadId(MaybeKind),
BadParam(MaybeKind),
AccessDenied(MaybeKind),
}Available on crate feature
unstable only.Expand description
Error type for TaskRef::migrate.
This type is an error kind type.
Variants§
BadContext(MaybeKind)
Requires: cfg(any(feature = "fmp3", feature = "solid_fmp3"))
BadId(MaybeKind)
Requires: cfg(any(feature = "fmp3", feature = "solid_fmp3"))
BadParam(MaybeKind)
Bad parameter.
-
The task is a restricted task, for which migration is not supported (
E_NOSPT, NGKI1186). -
The class the task belongs to does not permit assigning tasks to the specified processor (
E_PAR, NGKI1160). -
The task belongs to a processs that is different from the calling processor (
E_OBJ, NGK1157).
Requires: cfg(any(feature = "fmp3", feature = "solid_fmp3"))
AccessDenied(MaybeKind)
Requires: cfg(any())
Trait Implementations§
Source§impl Clone for MigrateError
impl Clone for MigrateError
Source§fn clone(&self) -> MigrateError
fn clone(&self) -> MigrateError
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 MigrateError
impl Debug for MigrateError
Source§impl ErrorKind for MigrateError
impl ErrorKind for MigrateError
Source§impl PartialEq for MigrateError
impl PartialEq for MigrateError
impl Copy for MigrateError
impl Eq for MigrateError
impl StructuralPartialEq for MigrateError
Auto Trait Implementations§
impl Freeze for MigrateError
impl RefUnwindSafe for MigrateError
impl Send for MigrateError
impl Sync for MigrateError
impl Unpin for MigrateError
impl UnwindSafe for MigrateError
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