pub enum PipelineAffinity {
CrossCutting,
Pipelines(Vec<Pipeline>),
}Expand description
Which pipelines a config key is associated with.
Deserialized from a flat YAML list of pipeline tokens. An empty list is rejected. A list
containing only cross_cutting folds to PipelineAffinity::CrossCutting; cross_cutting
may not appear alongside other tokens.
Variants§
CrossCutting
The key affects all pipelines / ADP behaviour as a whole.
Pipelines(Vec<Pipeline>)
The key affects the listed pipelines (non-empty, in declaration order).
Trait Implementations§
Source§impl Clone for PipelineAffinity
impl Clone for PipelineAffinity
Source§fn clone(&self) -> PipelineAffinity
fn clone(&self) -> PipelineAffinity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineAffinity
impl Debug for PipelineAffinity
Source§impl<'de> Deserialize<'de> for PipelineAffinity
impl<'de> Deserialize<'de> for PipelineAffinity
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PipelineAffinity
impl RefUnwindSafe for PipelineAffinity
impl Send for PipelineAffinity
impl Sync for PipelineAffinity
impl Unpin for PipelineAffinity
impl UnsafeUnpin for PipelineAffinity
impl UnwindSafe for PipelineAffinity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more