pub struct FiberStack(_);
Expand description

Represents an execution stack to use for a fiber.

Implementations

Creates a new fiber stack of the given size.

Creates a new fiber stack with the given pointer to the top of the stack.

Safety

This is unsafe because there is no validation of the given stack pointer.

The caller must properly allocate the stack space with a guard page and make the pages accessible for correct behavior.

Gets the top of the stack.

Returns None if the platform does not support getting the top of the stack.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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.