Enum itron_solid_fmp3::task::SetBasePriorityError [−][src]
pub enum SetBasePriorityError {
BadContext(MaybeKind),
BadId(MaybeKind),
BadState(MaybeKind),
BadParam(MaybeKind),
AccessDenied(MaybeKind),
}
This is supported on crate feature
unstable
only.Expand description
Error type for TaskRef::set_base_priority
.
This type is an error kind type.
Variants
BadContext(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
BadId(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
BadState(MaybeKind)
Tuple Fields
0: MaybeKind
The task is dormant.
Requires: cfg(not(feature = "none"))
BadParam(MaybeKind)
Tuple Fields
0: MaybeKind
Bad parameter.
-
The task is a restricted task, for which changing the priority is not supported (NGKI1186).
-
The specified priority is out of range.
-
The task owns a priority-ceiling mutex, and the specified priority is higher than the mutex’s priority ceiling.
Requires: cfg(not(feature = "none"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(any())
Trait Implementations
Categorize the specified error code. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.