Struct thread_control::Control [] [src]

pub struct Control { /* fields omitted */ }

Struct to control thread execution.

Methods

impl Control
[src]

Interrupt execution of thread. Actually it panics when thread checking flag.

Set stop flag.

Return true if thread ended.

Return true if thread was interrupted or panicked.

Trait Implementations

impl Debug for Control
[src]

Formats the value using the given formatter.

impl Clone for Control
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more