Struct liblightning::co::CoState [] [src]

pub struct CoState<F: FnOnce(&mut Yieldable)> { /* fields omitted */ }

The state of a coroutine.

Must not be accessed by the coroutine itself.

Methods

impl<F: FnOnce(&mut Yieldable)> CoState<F>
[src]

[src]

[src]

[src]

Trait Implementations

impl<F: FnOnce(&mut Yieldable)> Yieldable for CoState<F>
[src]

[src]

impl<F: FnOnce(&mut Yieldable)> Drop for CoState<F>
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<F> !Send for CoState<F>

impl<F> !Sync for CoState<F>