pub struct StackHunk<System: KernelStatic>(_);
Expand description
Specifies the Hunk
to use as a task’s stack when included in the task’s
property Bag
.
A kernel might choose to ignore this if StackHunk
is not supported.
If a StackHunk
is given, the stack size (TaskDefiner::stack_size
) must
be specified explicitly.
Construct StackHunk
.
When activating the assocaited task, the kernel will mutably borrow
the region starting at hunk
without no borrow checking.
Performs copy-assignment from
source
.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.