Gets the stack associated with this fiber.
(&self)
| 226 | |
| 227 | /// Gets the stack associated with this fiber. |
| 228 | pub fn stack(&self) -> &FiberStack { |
| 229 | self.stack.as_ref().unwrap() |
| 230 | } |
| 231 | |
| 232 | /// When this fiber has finished executing, reclaim its stack. |
| 233 | pub fn into_stack(mut self) -> FiberStack { |
no test coverage detected