Enum gaffer::ExclusionOption [−][src]
pub enum ExclusionOption<T> {
All,
Some(T),
None,
}
Expand description
Allows some jobs to be run at the same time, others to acquire a keyed exclusive lock, and others to acquire a global exclusive lock
Variants
This job excludes all others, it can only be run whilst all other workers are idle. NOTE: If the runner is busy this will have to wait until all jobs are finished
This job excludes some other jobs which match T
This job excludes no other jobs and can run at any time
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ExclusionOption<T> where
T: RefUnwindSafe,
impl<T> Send for ExclusionOption<T> where
T: Send,
impl<T> Sync for ExclusionOption<T> where
T: Sync,
impl<T> Unpin for ExclusionOption<T> where
T: Unpin,
impl<T> UnwindSafe for ExclusionOption<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more