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
Auto Trait Implementations
impl !RefUnwindSafe for FruitStopper
impl Send for FruitStopper
impl !Sync for FruitStopper
impl Unpin for FruitStopper
impl !UnwindSafe for FruitStopper
Blanket Implementations
Mutably borrows from an owned value. Read more