Struct fringe::OsStack [] [src]

pub struct OsStack { /* fields omitted */ }

OsStack holds a guarded stack allocated using the operating system's anonymous memory mapping facility.

Methods

impl Stack
[src]

Allocates a new stack with at least size accessible bytes. size is rounded up to an integral number of pages; Stack::new(0) is legal and allocates the smallest possible stack, consisting of one data page and one guard page.

Trait Implementations

impl Debug for Stack
[src]

Formats the value using the given formatter.

impl Send for Stack
[src]

impl Stack for Stack
[src]

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

impl GuardedStack for Stack
[src]

impl Drop for Stack
[src]

A method called when the value goes out of scope. Read more