Struct sage_broker::Trigger [−][src]
pub struct Trigger { /* fields omitted */ }
Expand description
The Tigger class represents a one-way shared boolean. It has the following features:
- The state is shared. It can be cloned like an Arc
- The default value is false
- Once
fire()
has been called, the value is set to true and can never be set back to false again
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Trigger
impl UnwindSafe for Trigger
Blanket Implementations
Mutably borrows from an owned value. Read more