Enum itron_asp3::task::TerminateError [−][src]
pub enum TerminateError {
BadContext(MaybeKind),
BadId(MaybeKind),
AccessDenied(MaybeKind),
BadState(MaybeKind),
BadParam(MaybeKind),
}
This is supported on crate feature
unstable
only.Expand description
Error type for TaskRef::terminate
.
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"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(any())
BadState(MaybeKind)
Tuple Fields
0: MaybeKind
Bad state.
- The task is dormant.
- The task is assigned to a processor that is different from the
current one (
E_OBJ
, NGKI3481).
Requires: cfg(not(feature = "none"))
BadParam(MaybeKind)
Tuple Fields
0: MaybeKind
Bad parameter.
- The current task cannot be terminated,
Requires: cfg(not(feature = "none"))
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 !=
.