Struct fruitbasket::FruitStopper[][src]

pub struct FruitStopper { /* fields omitted */ }
Expand description

An opaque, thread-safe object that can interrupt the run loop.

An object that is safe to pass across thread boundaries (i.e. it implements Send and Sync), and can be used to interrupt and stop the run loop, even when running in ‘Forever’ mode. It can be Cloned infinite times and used from any thread.

Implementations

Stop the run loop on the FruitApp instance that created this object

This is equivalent to passing the object to FruitApp::stop. See it for more documentation.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.