Struct stoppable_thread::Stopping
[−]
[src]
pub struct Stopping<T> {
// some fields omitted
}Guard a stoppable thread
When Stopping is dropped (usually by going out of scope), the contained
thread will be stopped.
Note: This does not guarantee that stop() will be called (the original
scoped thread was removed from stdlib for this reason).