Struct context::context::Transfer [] [src]

#[repr(C)]
pub struct Transfer { pub context: Context, pub data: usize, }

Contains the previously active Context and the data passed to resume the current one and is used as the return value by Context::resume() and Context::resume_ontop()

Fields

The previously executed Context which yielded to resume the current one.

The data which was passed to Context::resume() or Context::resume_ontop() to resume the current Context.

Methods

impl Transfer
[src]

[src]

Returns a new Transfer struct with the members set to their respective arguments.

Trait Implementations

impl Debug for Transfer
[src]

[src]

Formats the value using the given formatter.