Enum itron_asp3::task::SuspendError [−][src]
pub enum SuspendError {
BadContext(MaybeKind),
BadId(MaybeKind),
NotSupported(MaybeKind),
AccessDenied(MaybeKind),
BadState(MaybeKind),
QueueOverflow(MaybeKind),
}
This is supported on crate feature
unstable
only.Expand description
Error type for TaskRef::suspend
.
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"))
NotSupported(MaybeKind)
Tuple Fields
0: MaybeKind
The task is a restricted task.
Requires: cfg(all(not(feature = "none"), feature = "rstr_task"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(any())
BadState(MaybeKind)
Tuple Fields
0: MaybeKind
Bad state.
- The task is dormant.
- The task has a pending termination request.
Requires: cfg(not(feature = "none"))
QueueOverflow(MaybeKind)
Tuple Fields
0: MaybeKind
The task is already suspended.
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 !=
.