Struct coroutine::options::Options [] [src]

pub struct Options {
    pub stack_size: usize,
    pub name: Option<String>,
}

Coroutine spawn options

Fields

stack_size: usize

The size of the stack

name: Option<String>

The name of the Coroutine

Trait Implementations

impl Debug for Options
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Options
[src]

fn default() -> Options

Returns the "default value" for a type. Read more