pub type DynamicCancellationTrigger = Box<dyn CancellationTrigger>;Expand description
A dynamic boxed CancellationTrigger.
Aliased Type§
pub struct DynamicCancellationTrigger(/* private fields */);Trait Implementations§
Source§impl CancellationTrigger for DynamicCancellationTrigger
impl CancellationTrigger for DynamicCancellationTrigger
Source§fn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Returns true if this trigger is canceled. Read more
Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Return the type name of this
CancellationTrigger, or in case of “composite”
triggers, the type name of the trigger that actually signaled the cancellation.