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]
impl Unpark
pub fn context_id(&self) -> ContextId
[src]
pub fn context_id(&self) -> ContextId
Returns the identifier of the context on which this object was created.
Trait Implementations
impl Debug for Unpark
[src]
impl Debug for Unpark
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Drop for Unpark
[src]
impl Drop for Unpark