Struct fibers::fiber::Unpark
[−]
[src]
pub struct Unpark { /* fields omitted */ }
Unpark object.
When this object is dropped, it unparks the associated fiber.
This is created by calling Context::park
method.
Methods
impl Unpark
[src]
fn context_id(&self) -> ContextId
Returns the identifier of the context on which this object was created.