pub struct OsStack { /* fields omitted */ }
OsStack holds a guarded stack allocated using the operating system's anonymous
memory mapping facility.
Allocates a new stack with at least size
accessible bytes.
size
is rounded up to an integral number of pages; OsStack::new(0)
is legal
and allocates the smallest possible stack, consisting of one data page and
one guard page.
Formats the value using the given formatter. Read more
Returns the base address of the stack. On all modern architectures, the stack grows downwards, so this is the highest address. Read more
Returns the limit address of the stack. On all modern architectures, the stack grows downwards, so this is the lowest address. Read more
Executes the destructor for this type. Read more