Enum itron_asp3::task::BuildError [−][src]
pub enum BuildError {
BadContext(MaybeKind),
AccessDenied(MaybeKind),
OutOfMemory(MaybeKind),
BadParam(MaybeKind),
}
unstable
and dcre
only.Expand description
Error type for Task::build
.
This type is an error kind type.
Variants
BadContext(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(not(feature = "none"))
AccessDenied(MaybeKind)
Tuple Fields
0: MaybeKind
Requires: cfg(any())
OutOfMemory(MaybeKind)
Tuple Fields
0: MaybeKind
Ran out of memory or task IDs.
Requires: cfg(not(feature = "none"))
BadParam(MaybeKind)
Tuple Fields
0: MaybeKind
Bad parameter.
-
The specified stack region overlaps with an existing memory object (NGKI1060,
E_OBJ
). -
The specified system stack region is not included a kernel-only memory object (NGKI1057,
E_OBJ
). -
The specified stack size is too small (NGKI1042,
E_PAR
). -
The specified system stack size is too small (NGKI1044,
E_PAR
). -
NGKI5108,
E_PAR
. -
The kernel configuration requires manual stack specification, but the caller did not specify one (NGKI3907,
E_PAR
). -
The specified stack does not meet target-specific requirements (NGKI1056,
E_PAR
). -
The specified system stack does not meet target-specific requirements (NGKI1065,
E_PAR
). -
The caller requested to create a system task, and
sstk
is non-null (NGKI1068,E_PAR
). -
The caller requested to create a system task,
sstksz != 0
, andstk
is non-null (NGKI1071,E_PAR
).
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 !=
.