Skip to main content

TaskTarget

Trait TaskTarget 

Source
pub trait TaskTarget: ExclusiveOption { }
Expand description

Marker for a selected task target: one of CommandMode or TriggerMode.

Exactly one of -e / -t is required, so spawning is only available once BackGroundTask has transitioned into one of these states.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§