Struct synchrotron::Handle [] [src]

pub struct Handle<'a>(_);

A cloneable handle to a Core.

Cloned handles always refer to the same Core instance.

Handle can be used to spawn tasks even when the Core is running.

Methods

impl<'a> Handle<'a>
[src]

Spawn a new task into the executor. The spawned tasks are executed when run is called.

Trait Implementations

impl<'a> Debug for Handle<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Handle<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more