Enum itron_asp3::task::RaiseTerminationError [−][src]
pub enum RaiseTerminationError {
BadContext(MaybeKind),
BadId(MaybeKind),
AccessDenied(MaybeKind),
BadState(MaybeKind),
BadParam(MaybeKind),
}This is supported on crate feature
unstable only.Expand description
Error type for TaskRef::raise_termination.
This type is an error kind type.
Variants
BadContext(MaybeKind)
Tuple Fields
0: MaybeKindRequires: cfg(not(feature = "none"))
BadId(MaybeKind)
Tuple Fields
0: MaybeKindRequires: cfg(not(feature = "none"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKindRequires: cfg(any())
BadState(MaybeKind)
Tuple Fields
0: MaybeKindBad 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: MaybeKindBad state.
- 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 !=.